216 aPPendix a
function [iout,qout]= girem(idata,qdata,fftlen2,
gilen,nd);
%****************** variables *************************
% idata : Input Ich data
% qdata : Input Qch data
% iout : Output Ich data
% qout : Output Qch data
% fftlen2 : Length of FFT (points)
% gilen : Length of guard interval (points)
% nd : Number of OFDM symbols
% *****************************************************
idata2=reshape(idata,fftlen2,nd);
qdata2=reshape(qdata,fftlen2,nd);
iout=idata2(gilen+1:fftlen2,:);
qout=qdata2(gilen+1:fftlen2,:);
%***************** end of file ************************
%
% Function to perform QPSK demodulation
%
%
function [demodata]=qpskdemod(idata,qdata,para,nd,ml)
%****************** variables *************************
% idata :input Ich data ...