資源簡介
多發多收的稀疏信道估計的仿真程序,運用LS、OMP與時反算法
Multiple overcharged sparse channel estimation simulation program, using LS, OMP and time-reverse algorithm)
代碼片段和文件信息
%?TR-MIMO-Sparse?Channel
%%?Clean?up
clearclc
close?all
%%?Tx?&?Rx?number?lx?length
Nt?=?2;%?Tx
Nr?=?10;%?Rx
lx_pilot?=?150;%?X?length
lx_unknown?=?1e3?-?lx_pilot;
lx?=?lx_pilot?+?lx_unknown;
%%?Constellation
map?=?1/sqrt(2)?*?[1+1i;-1+1i;-1-1i;1-1i;];
%%?Sparse?channel
L?=?29;
lh?=?L?+?1;
valNum?=?5;
temp?=?randperm(lh);
chanIndex?=?temp(1:valNum);
hRaw?=?exp((valNum:-1:1)/valNum);
hProfile?=?zeros(1lh);
for?iAssignValue?=?1:valNum
????hIndex?=?chanIndex(iAssignValue);
????hProfile(hIndex)?=?hRaw(iAssignValue);
end
hProfile_n?=?hProfile./norm(hProfile);
%%?SNR
SNR_dB?=?0:1:20;
nTrial?=?(1:length(SNR_dB))?*?1e1;
BER_aver?=?zeros(length(SNR_dB)Nt);
BER_aver_Ls?=?zeros(length(SNR_dB)Nt);
BER_aver_Omp?=?zeros(length(SNR_dB)Nt);
%%?Iteration
for?iSNR?=?1:l
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????5079??2015-01-16?16:42??HW5_TR_MIMO_SparseChannel_None_Ls_Omp.m
- 上一篇:頻率步進matlab仿真
- 下一篇:QAMPSKDPSKFSKMSK調制仿真
評論
共有 條評論