www.pudn.com > mimoprecoding.rar > tx_add_pilot_syms.m, change:2006-03-14,size:763b


function mod_ofdm_syms = tx_add_pilot_syms(mod_syms, sim_options) 
global sim_consts; 
n_mod_syms = size(mod_syms,2);% 960 
n_ofdm_syms = n_mod_syms/sim_consts.NumDataSubc; % 960/48=20 
%pilot scrambling pattern 
scramble_patt = repmat(sim_consts.PilotScramble,1,ceil(n_ofdm_syms/length(sim_consts.PilotScramble))); % 
scramble_patt = scramble_patt(1:n_ofdm_syms);% 20  
mod_ofdm_syms = zeros(sim_consts.NumSubc, n_ofdm_syms); % 52*20 
mod_ofdm_syms(sim_consts.DataSubcPatt,:) = reshape(mod_syms, sim_consts.NumDataSubc, n_ofdm_syms); % 960=48*20 
mod_ofdm_syms(sim_consts.PilotSubcPatt,:) = repmat(scramble_patt, sim_consts.NumPilotSubc,1).* ... 
   repmat(sim_consts.PilotSubcSymbols, 1, n_ofdm_syms); %  
mod_ofdm_syms = mod_ofdm_syms(:).';% p/s  

2018无需申请注册送58体验金