www.pudn.com > mimoprecoding.rar > rx_fourTotwo.asv, change:2006-07-05,size:1870b


function comb_syms = rx_fourTotwo(rx_syms, channel_est, sim_options, w) 
global sim_consts; 
global codebook_index; 
n_ofdm_syms = size(squeeze(rx_syms(1,:,:)),2); 
 
comb_syms_1 = repmat(conj(channel_est(:,1)), 1, n_ofdm_syms).*squeeze(rx_syms(1,:,:)) + ... 
   repmat(conj(channel_est(:,2)), 1, n_ofdm_syms).*squeeze(rx_syms(1,:,:)) + ... 
   repmat(conj(channel_est(:,3)), 1, n_ofdm_syms).*squeeze(rx_syms(1,:,:)) + ... 
   repmat(conj(channel_est(:,4)), 1, n_ofdm_syms).*squeeze(rx_syms(1,:,:)); 
 
comb_syms_2 = repmat(conj(channel_est(:,5)), 1, n_ofdm_syms).*squeeze(rx_syms(2,:,:)) + ... 
    repmat(conj(channel_est(:,6)), 1, n_ofdm_syms).*squeeze(rx_syms(2,:,:)) + ... 
    repmat(conj(channel_est(:,7)), 1, n_ofdm_syms).*squeeze(rx_syms(2,:,:)) + ... 
    repmat(conj(channel_est(:,8)), 1, n_ofdm_syms).*squeeze(rx_syms(2,:,:)); 
% comb_syms_1 = squeeze(rx_syms(1,:,:))./... 
%              (repmat(channel_est(:,1).*beamCombVec(:,1), 1, n_ofdm_syms)+... 
%               repmat(channel_est(:,2).*beamCombVec(:,2), 1, n_ofdm_syms)+... 
%               repmat(channel_est(:,3).*beamCombVec(:,3), 1, n_ofdm_syms)+... 
%               repmat(channel_est(:,4).*beamCombVec(:,4), 1, n_ofdm_syms)); 
% comb_syms_2 = squeeze(rx_syms(2,:,:))./... 
%              (repmat(channel_est(:,5).*beamCombVec(:,1), 1, n_ofdm_syms)+... 
%               repmat(channel_est(:,6).*beamCombVec(:,2), 1, n_ofdm_syms)+... 
%               repmat(channel_est(:,7).*beamCombVec(:,3), 1, n_ofdm_syms)+... 
%               repmat(channel_est(:,8).*beamCombVec(:,4), 1, n_ofdm_syms)); 
 
comb_syms_1 = repmat(conj(channel_est(:,1)), 1, n_ofdm_syms) + ... 
   channel_est(:,2)) + ... 
  channel_est(:,3)), 1, n_ofdm_syms).*squeeze(rx_syms(1,:,:)) + ... 
   repmat(conj(channel_est(:,4)), 1, n_ofdm_syms).*squeeze(rx_syms(1,:,:)); 
 
comb_syms = comb_syms_1 + comb_syms_2; 

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