资源简介
SISO系统的多径瑞利信道理想信道估计代码,用于获取多径信道的理想信道
代码片段和文件信息
function [Output_SIM_OFDM_CP H]=...
Chan_Rayleigh_SISO_Doppler(TX_Symbols_SIM_OFDM_CPTX_NumRX_Numchanframe_LengthFFT_SizeCP_Size)
%初始化输出信号与信道矩阵
Output_SIM_OFDM_CP=zeros(RX_Numsize(TX_Symbols_SIM_OFDM_CP2));
H=zeros(RX_NumTX_Num*FFT_Size);
%信号经过多径信道
Output_SIM_OFDM_Sig_RX_TX = filter(chan TX_Symbols_SIM_OFDM_CP.‘);
Output_SIM_OFDM_CP=Output_SIM_OFDM_CP+Output_SIM_OFDM_Sig_RX_TX.‘;%得到接收信号
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%根据理想信道估计,得到信道频率响应
%用sinc()构造离散时间信道模型
N=FFT_Size;
h_ideal=chan.PathGains;%信道增益
tao=chan.PathDelays./chan.InputSamplePeriod;
N_1=floor(tao(1))-chan.Chann
- 上一篇:空间调制天线选择的程序
- 下一篇:率失真函数计算matlab程序-信息论
评论
共有 条评论