X hits on this document

PDF document

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

243 views

0 shares

0 downloads

0 comments

97 / 107

end

% first permutation for j=0:Ncbps­1

jk=s*floor(j/s)+mod(j+floor(12*j/Ncbps),s)+1; firstperm_deinterleaved_data(:,jk)= data(:,j+1); end

% second permutation for j=0:Ncbps­1

jl=12*j­(Ncbps­1)*floor(12*j/Ncbps)+1; deinterleaved_data(:,jl)=firstperm_deinterleaved_data(:,j+1); end

% convolutional decoder

function convdecod_data=conv_decoder(data) %conv_decoder(data): decodes received data with puncturing pattern and %serialization order as specified in Table 214

global IEEE80216params;

%%Code Rate p/q p=IEEE80216params.CC.p; q=IEEE80216params.CC.q;

%mapping 0's to 1 and 1's to­1 data=­2*data +1;

%depuncturing the data as per the given in table 212

if ((p==1) && (q==2)) %puncturing is not required punc_pattern=[1 2]; s=1*2; else if ((p==2) && (q==3)) %X1Y1Y2 punc_pattern=[1 2 4]; s=2*2; else if ((p==3) && (q==4)) %X1Y1Y2X3 punc_pattern=[1 2 4 5]; s=2*3; else %X1Y1Y2X3Y4X5 if ((p==5) &&(q==6)) punc_pattern=[1 2 4 5 8 9]; s=2*5; end end end end

86

Document info
Document views243
Page views249
Page last viewedSat Dec 03 14:18:23 UTC 2016
Pages107
Paragraphs1573
Words17747

Comments