X hits on this document

PDF document

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

283 views

0 shares

0 downloads

0 comments

106 / 107

end

%%%fading IEEE80216params.channel.P=10.^(IEEE80216params.channel.P/10);%db to linear scale IEEE80216params.channel.variance=IEEE80216params.channel.P./(IEEE80216params.channel.K+1);%va riance IEEE80216params.channel.meanp=IEEE80216params.channel.P.*(IEEE80216params.channel.K./(IEEE80 216params.channel.K+1)); IEEE80216params.channel.m=sqrt(IEEE80216params.channel.meanp); IEEE80216params.channel.paths_c=IEEE80216params.channel.m;

IEEE80216params.channel.Nyquist_freq=2*max(IEEE80216params.channel.Dop);% Nyquest freq. of channel IEEE80216params.channel.Nyquist_time=(1/IEEE80216params.channel.Nyquist_freq);

IEEE80216params.channel.conv_locs=1+round(IEEE80216params.channel.tau/(IEEE80216params.Ofdm. SampleTime*10^6));

%%%channel filter

IEEE80216params.channel.filter=zeros(length(IEEE80216params.channel.P),IEEE80216params.simOpts. DoppTaps); for i=1:length(IEEE80216params.channel.P)

D=IEEE80216params.channel.Dop(i)/max(IEEE80216params.channel.Dop)/2;

f0=[0:floor(IEEE80216params.simOpts.DoppTaps*D)]/( loor(IEEE80216params.simOpts.DoppTaps*D)); PSD = 0.785*f0.^4 ­ 1.72*f0.^2 + 1.0; filter=[PSD(1:end­1) zeros(1,IEEE80216params.simOpts.DoppTaps­ 2*floor(IEEE80216params.simOpts.DoppTaps*D)) PSD(end:­1:2) ]; filter=sqrt(filter); filter=ifftshift(if t(filter)); filter= real(filter); filter=filter/sqrt(sum(filter.^2)); IEEE80216params.channel.filter(i,:)=filter;

end

IEEE80216params.channel.Normfact=10^(IEEE80216params.channel.Fnorm/20);

%%% channel coding pro ile selection

function IEEE80216params=ch_coding_profile(ch_cod_prof_no,IEEE80216params) %%ch_coding_profile(ch_cod_prof_no,IEEE80216params): set the modulation %%scheme and the parameter for RS­CC coder

%select profile switch(ch_cod_prof_no) case 1 IEEE80216params.Modulation.Type='BPSK'; IEEE80216params.RS.N=12; IEEE80216params.RS.K=12; IEEE80216params.RS.T=0;

95

Document info
Document views283
Page views289
Page last viewedWed Dec 07 13:26:04 UTC 2016
Pages107
Paragraphs1573
Words17747

Comments