rx_phase_tracker.m

来自「OFDM相关的维特比算法、BPSK调制等」· M 代码 · 共 18 行

M
18
字号

function corrected_syms = rx_phase_tracker(freq_data_syms, freq_pilot_syms, channel_est, sim_options);

global sim_consts;

num_symbols = size(freq_data_syms,2);
corrected_syms = zeros(sim_consts.NumDataSubc, num_symbols);

if sim_options.PilotPhaseTracking      
   % estimate the phase change using the pilots   correction_phases = rx_pilot_phase_est(freq_pilot_syms, channel_est, sim_options);
      % correct symbol using the phase estimate of this one OFDM symbol,
   corrected_syms = exp(-j*correction_phases).*freq_data_syms;
else
   corrected_syms = freq_data_syms;
end

⌨️ 快捷键说明

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