X hits on this document

PDF document

Performance Evaluation of WiMAX/IEEE 802.16 OFDM Physical Layer - page 92 / 107

378 views

0 shares

0 downloads

0 comments

92 / 107

s= ceil( 1/2 case 'QPSK' Ncbps= 24* s= ceil( 2/2 case '16QAM' Ncbps= 48* s= ceil( 4/2 case '64QAM' Ncbps= 72* s= ceil( 6/2

);

IEEE80216params.Modulation.subchn; );

IEEE80216params.Modulation.subchn; );

IEEE80216params.Modulation.subchn; );

end

%%check if ((size(data,2) < Ncbps) || (size(data,2) > Ncbps))

error('size mismatch'); end

% first permutation accoring to eqn. 71 for k=0:Ncbps­1

mk=(Ncbps/12)*mod(k,12)+floor(k/12); firstPerm_interleaved_data(:,mk+1)=data(:,k+1); end clear k; clear mk; clear punct_code;

%second permutation according to eqn. 72 for k=0:Ncbps­1

jk=s*floor(k/s)+mod((k+Ncbps­floor(12*k/Ncbps)),s); interleaved_data(:,jk+1)= irstPerm_interleaved_data(:,k+1); end clear jk; clear data; clear firstPerm_interleaved_data; clear Ncbps;

%pilot modulator function w_k=pilot_modulator(data)

%global simulation_opts; global IEEE80216params;

sequence_length=size(data,1);

if (IEEE80216params.Link.direction == 'Dlink') initialization_seq=de2bi(hex2dec('7FF'),'left­msb'); Symbol_off=2;

else

initialization_seq= de2bi(hex2dec('555'),'left­msb'); Symbol_off=1;

end

for i=1:(sequence_length+Symbol_off) initialization_seq_msb=bitxor(initialization_seq(11),initialization_seq(9)); initialization_seq=[initialization_seq_msb initialization_seq(1:10)]; w_k(i)=initialization_seq_msb;

81

Document info
Document views378
Page views384
Page last viewedFri Jan 20 16:14:20 UTC 2017
Pages107
Paragraphs1573
Words17747

Comments