資源簡介
瑞利信道的多徑仿真程序。可以使用。進行多徑信道的學習驗證,用于MIMO
代碼片段和文件信息
function?[Rx_freqH]=mutipath_path_MIMO(N_0ofdm_sizenTxnRxTx_dataSNRdelaygainTsfdCPindex_loop)
H=zeros(nRxnTxofdm_size);%預定義
Rx_freq=zeros(nRxofdm_size);??
for?j=1:nRx
????rx_time_sum=zeros(ofdm_size1);
????for?i=1:nTx
%?????????h_channel=(randn(1P)+1j*randn(1P))/sqrt(2);
%??????????H_freq(ji:)=?fft(h_channel(1:P)sc_size);
%??????????L=cp_length;
%?????????H(ji:)=?h_channel(1:P);
??????chan=rayleighchan(Tsfddelaygain);
??????chan.NormalizePathGains?=?1;
??????chan.StorePathGains?=?true;
???????b?=?legacychannelsim;
???????if?(b==0)
???????legacychannelsim(true);%reset?function?legacy?requirement
??????end
????????reset(chan[i+j+10+index_loop;i*10+j+index_loop]);
????????chan.ResetBeforeFiltering?=1;?
????????filter(
評論
共有 條評論