mazdaspring
Advanced Member level 4
I have a look OFDM over Rayleigh channel matlab code from DSPlog website. For IFFT function, the guy use
xt = (nFFT/sqrt(nDSC))*ifft(fftshift(xF.')).';
% xF=transmitted signal in Frequency domain
% nFFT= FFT size
% nDSC = number of data subcarriers
He uses this IFFT function to apply IFFT to the transmitted signal.
I am wondering why can't we just use plain IFFT function like
xF=nFFT/sqrt(nDSC)*ifft((xF.')).';
.................More important is that...............
when I use this xF=nFFT/sqrt(nDSC)*ifft((xF.')).'; I will get a BER against Eb/No graph of straight line.
which seems to result BER = 0 in all level of Eb/No
but when I use ifft function of first one, I will get a perfect result!
Can anyone explain please?
xt = (nFFT/sqrt(nDSC))*ifft(fftshift(xF.')).';
% xF=transmitted signal in Frequency domain
% nFFT= FFT size
% nDSC = number of data subcarriers
He uses this IFFT function to apply IFFT to the transmitted signal.
I am wondering why can't we just use plain IFFT function like
xF=nFFT/sqrt(nDSC)*ifft((xF.')).';
.................More important is that...............
when I use this xF=nFFT/sqrt(nDSC)*ifft((xF.')).'; I will get a BER against Eb/No graph of straight line.
which seems to result BER = 0 in all level of Eb/No
but when I use ifft function of first one, I will get a perfect result!
Can anyone explain please?