%%%%%%%%%%% Developed for 16 QAM %%%%%%%%%%%%%%
clear all
close all
t0=clock;
%%%%%%% INPUT PARAMETERS %%%%%%%%%%%
%%%%% N=, Number of FFT Points
N=1024;
%%%%% M=, Number of OFDM Sub Carriers
M=512;
%%%%% L=, Number of Symbols
L=64;
MMMa=4;%%% Modulation Method %%%%%%%%%%%%%%%%% QPSK 16QAM
MMM1a=log2(MMMa);
%%%%% Tg=, Gurd Interval Ratio %%%%%%%%
Tg=0.1;
W=10;%%% Bandwidth(MHz)
DFF=W/M;
%%%%%% ts=, Effective Sumbol Duration (Micro Sec) %%%%%%%
ts=M/W;
%%%%%% D=, Gurd Interval Duration (Micro Sec) %%%%%%%
D=ts*Tg;
%%%%%% Ts=, Symbol Duration (Micro Sec) %%%%%%%%%%
Ts=ts+D;
st1=ts/N;
%%%%%%% Ng=, Number of Samples for Gurd Interval %%%%%%%
Ng=round(D/(ts/N));
%%%%%%% Nt=, Number of Samples for a Symbol %%%%%%%
Nt=(N+Ng);
%%%%%%% NNt=, Number of Samples for a Flame %%%%%%
NNt=Nt*L;
%%%%%%%%% Sampling frequency (usec) %%%%%%%%%%
tbw=1/st1;
%%%%%%% tsw=, Total Allocated Signal Bandwidth (MHz) %%%%%%%
tsw=(1/ts*M);%%%% W bandwidth
ddf=tbw/NNt; %%%% Frequency resolution
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dt=0.1;%%%%%% delay spread
ds=st1;%%%%%% delay spacing
NP=10; %%%%%% number of delay path
%%% Power Delay profile with Exponential decay constant
amp(1)=0.7854;
amp(2)=0.4861;
amp(3)=0.3009;
评论0