电磁场与电磁波·实验报告
grid on;
str={'科学会堂正面由西向东'; '信号电平概率分布'}; title(str);
xlabel('电平值(-dBmw)'); ylabel('样本数量(个)');
legend('实际样本分布','理想概率分布线'); subplot(1,2,2);
[h1,s1] = cdfplot(w2e2)%画累积概率分布图 axis([30,70,0,1]); hold on;
w2emean=num2str(s1.mean); w2estd=num2str(s1.std);
text(56,0.23,['最小值= ',num2str(s1.min)]); text(56,0.18,['最大值= ',num2str(s1.max)]); text(56,0.13,['均 值= ',num2str(s1.mean)]); text(56,0.08,['中值= ',num2str(s1.median)]); text(56,0.03,['标准差= ',num2str(s1.std)]); title(' 对应累积概率分布'); figure(12)
surf(w2e3');%画衰落强度图
title('科学会堂正面由西向东信号电平分布图'); xlabel('科学会堂正面由西向东'); axis([1,50,1,2]); caxis([30 70]); colorbar('horiz');
%------------科学会堂正面由东向西-----------% figure(21) subplot(1,2,1); histfit(s2n2); axis([30,70,0,30]); grid on;
title('科学会堂正面由东向西信号电平概率分布'); xlabel('电平值(-dBmw)'); ylabel('样本数量(个)');
legend('实际样本分布','理想概率分布线'); subplot(1,2,2); [h1,s1] = cdfplot(s2n2) axis([30,70,0,1]);
第11页
电磁场与电磁波·实验报告
hold on;
s2nmean=num2str(s1.mean); s2nstd=num2str(s1.std);
text(56,0.23,['最小值= ',num2str(s1.min)]); text(56,0.18,['最大值= ',num2str(s1.max)]); text(56,0.13,['均 值= ',num2str(s1.mean)]); text(56,0.08,['中值= ',num2str(s1.median)]); text(56,0.03,['标准差= ',num2str(s1.std)]); title(' 对应累积概率分布'); figure(22) surf(s2n3');
title('科学会堂正面由东向西信号电平分布图'); xlabel('科学会堂正面由东向西'); axis([1,58,1,2]); caxis([30 70]); colorbar('horiz');
%-------------科学会堂西侧面由北向南-----------% figure(31) subplot(1,2,1); histfit(e2w2); axis([30,70,0,100]); grid on;
str={'科学会堂西侧面由北向南'; '信号电平概率分布'}; title(str);
xlabel('电平值(-dBmw)'); ylabel('样本数量(个)');
legend('实际样本分布','理想概率分布线'); subplot(1,2,2); [h1,s1] = cdfplot(e2w2) axis([30,70,0,1]); hold on;
e2wmean=num2str(s1.mean); e2wstd=num2str(s1.std);
text(56,0.23,['最小值= ',num2str(s1.min)]); text(56,0.18,['最大值= ',num2str(s1.max)]); text(56,0.13,['均 值= ',num2str(s1.mean)]); text(56,0.08,['中值= ',num2str(s1.median)]); text(56,0.03,['标准差= ',num2str(s1.std)]);
第12页
电磁场与电磁波·实验报告
title(' 对应累积概率分布'); figure(32) surf(e2w3');
title('科学会堂西侧面由北向南信号电平分布图'); xlabel('科学会堂西侧面由北向南'); axis([1,147,1,2]); caxis([30 70]); colorbar('horiz');
%-----------足球场后面由西向东-----------%
figure(41) subplot(1,2,1); histfit(n2s2); axis([30,70,0,40]); grid on;
title('足球场后面由西向东信号电平概率分布'); xlabel('电平值(-dBmw)'); ylabel('样本数量(个)');
legend('实际样本分布','理想概率分布线'); subplot(1,2,2); [h1,s1] = cdfplot(n2s2) axis([30,70,0,1]); hold on;
n2smean=num2str(s1.mean); n2sstd=num2str(s1.std);
text(56,0.23,['最小值= ',num2str(s1.min)]); text(56,0.18,['最大值= ',num2str(s1.max)]); text(56,0.13,['均 值= ',num2str(s1.mean)]); text(56,0.08,['中值= ',num2str(s1.median)]); text(56,0.03,['标准差= ',num2str(s1.std)]); title(' 对应累积概率分布'); figure(42) surf(n2s3');
title('足球场后面由西向东信号电平分布图'); xlabel('足球场后面由西向东'); axis([1,70,1,2]); caxis([30 70]); colorbar('horiz');
第13页
电磁场与电磁波·实验报告
%-------足球场东侧面由南向北--------% figure(61) subplot(1,2,1); histfit(e2wout2); axis([30,70,0,100]); grid on;
str={'足球场东侧面由南向北'; '信号电平概率分布'}; title(str);
xlabel('电平值(-dBmw)'); ylabel('样本数量(个)');
legend('实际样本分布','理想概率分布线'); subplot(1,2,2);
[h1,s1] = cdfplot(e2wout2) axis([30,70,0,1]); hold on;
e2woutmean=num2str(s1.mean); e2woutstd=num2str(s1.std);
text(56,0.23,['最小值= ',num2str(s1.min)]); text(56,0.18,['最大值= ',num2str(s1.max)]); text(56,0.13,['均 值= ',num2str(s1.mean)]); text(56,0.08,['中值= ',num2str(s1.median)]); text(56,0.03,['标准差= ',num2str(s1.std)]); title(' 对应累积概率分布'); figure(62) surf(e2wout3');
title('足球场东侧面由南向北信号电平分布图'); xlabel('足球场东侧面由南向北'); axis([1,159,1,2]); caxis([30 70]); colorbar('horiz');
%--------显示各个均值和标准差--------% westV=[w2emean,' ',w2estd] southV=[s2nmean,' ',s2nstd] eastV=[e2wmean,' ',e2wstd] northV=[n2smean,' ',n2sstd]
platformV=[w2eoutmean,' ',w2eoutstd] BplatformV=[e2woutmean,' ',e2woutstd]
第14页
电磁场与电磁波·实验报告
1、 磁场强度空间分布
第15页
相关推荐: