資源簡介
matlab仿真瑞利衰落信道和萊斯衰落信道
代碼片段和文件信息
%?plot_Ray_Ric_channel.m
clear?clf
N=200000;?level=30;?K_dB=[-40?15];
Rayleigh_ch=zeros(1N);?Rician_ch=zeros(2N);
a=[‘k-s‘;‘b-o‘;‘r-^‘];
%?Rayleigh?model
Rayleigh_ch=Ray_model(N);?
[tempx]=hist(abs(Rayleigh_ch(1:))level);???
plot(xtempa(1:));?hold?on
%?Rician?model
for?i=1:length(K_dB);
????Rician_ch(i:)=Ric_model(K_dB(i)N);
????[temp?x]=hist(abs(Rician_ch(i:))level);???
????plot(xtempa(i+1:));
end
xlabel(‘x‘)?ylabel(‘次數‘)
legend(‘瑞利‘‘萊斯?K=-40dB‘‘萊斯?K=15dB‘)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-05-06?09:56??瑞利衰落和萊斯衰落信道分布\
?????文件?????????513??2014-05-02?20:44??瑞利衰落和萊斯衰落信道分布\main.asv
?????文件?????????509??2014-05-02?20:46??瑞利衰落和萊斯衰落信道分布\main.m
?????文件??????????89??2014-04-01?15:46??瑞利衰落和萊斯衰落信道分布\Ray_model.m
?????文件??????????94??2014-03-30?13:49??瑞利衰落和萊斯衰落信道分布\Ric_model.m
評論
共有 條評論