linear_estimation.m

来自「通过图形实现OFMD的图像仿真」· M 代码 · 共 23 行

M
23
字号
function [channel_estimation]=linear_estimation(channel_post_ti)

frame_symbol=68;
row_begin=3;
row_end=frame_symbol-3;

fft_length=1705;                %for 2k mode
pilot_n=(fft_length-1)/3+1;

channel_estimation=channel_post_ti;

for count_sn=row_begin:row_end
    
    for count_pilot=1:(pilot_n-1)
        count_subch=count_pilot*3-2;
        pilot_cur=channel_estimation(count_sn, count_subch);
        pilot_next=channel_estimation(count_sn, count_subch+3);
        channel_estimation(count_sn, count_subch+1)=2/3*pilot_cur+1/3*pilot_next;
        channel_estimation(count_sn, count_subch+2)=1/3*pilot_cur+2/3*pilot_next;
        
        
    end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?