X hits on this document

PDF document

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

308 views

0 shares

0 downloads

0 comments

96 / 107

demodulated_symbol=genqamdemod(ofdm_demod_symbol,IEEE80216params.Modulation.gray_map_qps k); symbol_size=2; case '16QAM' scalin_fact=sqrt(1/10); o f d m _ d e m o d _ s y m b o l = o f d m _ d e m o d _ s y m b o l / s c a l i n _ f a c t %16QAM demodulation ;

d e m o d u l a t e d _ s y m b o l = g e n q a m d e m o d ( o f d m _ d e m o d _ s y m b o l , I E E E 8 0 2 1 6 p a r a m s . M o d u l a t i o n . g r a y _ m a p _ 1 6 am); symbol_size=4; q

case '64QAM' scalin_fact=sqrt(1/42); o f d m _ d e m o d _ s y m b o l = o f d m _ d e m o d _ s y m b o l / s c a l i n _ f a c t %64QAM demodulation ;

d e m o d u l a t e d _ s y m b o l = g e n q a m d e m o d ( o f d m _ d e m o d _ s y m b o l , I E E E 8 0 2 1 6 p a r a m s . M o d u l a t i o n . g r a y _ m a p _ 6 4 am); q

s y m b o l _ s i z e = 6 end ;

%symbol to bit conversion s=size(demodulated_symbol,2); for i=1:s

d e m o d u l a t e d _ b i t = d e 2 b i ( d e m o d u l a t e d _ s y m b o l ( : , i ) , s y m b o l _ s i z e , ' l e f t ­ m s b ' ) ' demod_bit_stream(:,i)=demodulated_bit(:); ;

end

demod_bit_stream=demod_bit_stream.';

% de­interleaver function deinterleaved_data = deinterleaver(data) %%deinterleaver(data): deinterleaves received data based on two step %%permutation as per specification

global IEEE80216params;

%interleaver block size on varing modulation scheme switch (IEEE80216params.Modulation.Type)

case 'BPSK' Ncbps= 12* IEEE80216params.Modulation.subchn; s= ceil( 1/2 ); case 'QPSK' Ncbps= 24*IEEE80216params.Modulation.subchn; s= ceil( 2/2 ); case '16QAM' Ncbps= 48* IEEE80216params.Modulation.subchn; s= ceil( 4/2 ); case '64QAM' Ncbps= 72* IEEE80216params.Modulation.subchn; s= ceil( 6/2 );

85

Document info
Document views308
Page views314
Page last viewedFri Dec 09 18:51:22 UTC 2016
Pages107
Paragraphs1573
Words17747

Comments