BER OF M-ary PSK and M-ary QAM
Show older comments
Dear All....
I am trying to write a program for the implementation of MIMO-OFDMby using wavelets transfrom . when i plot the BER Curve i am getting a straight line i am not able to get as a standard curve . any help will be appreciated.
Regards
Abdul Azeez
11 Comments
Walter Roberson
on 12 Oct 2020
qpsk_mod=pskmod(sp,M);
pskmod returns complex values.
DATADWT=qpsk_mod;
AC = DATADWT(1:rdwt/2,uu); % approximation coefficients
DC = DATADWT(rdwt/2+1:rdwt,uu); % detailed (wavelet) coefficients
So AC and DC are complex values
IDWT=idwt(AC,DC,'haar'); % IDWT process
idwt() is restricted to operating on real values.
Your code cannot generate any line; it crashes long before the plotting.
Walter Roberson
on 13 Oct 2020
Of course you can take real() or imag() or abs() of the qpsk modulated data, and do a wavelet transform on that.
The question would be whether you would get anything useful out of doing that.
qpsk uses constellations. With M = 16, you end up with 8 different real() values (4 unique values and their negatives), and cannot tell the difference between the two cases involving A +/- B*1i . And with a constellation, all of the values have the same absolute value: they all have the same magnitude, just with different vector rotations.
You would be safer taking real() and imag() and forming a vector twice as long. Possibly even doing dwt separately on the two parts.
... But I have no idea how this relates to OFDM.
Walter Roberson
on 13 Oct 2020
Edited: Walter Roberson
on 13 Oct 2020
ireal = idwt(real(AC), real(DC), 'haar');
icpx = idwt(imag(AC), imag(AC), 'haar');
IDWT = complex(ireal, icpx);
ABDUL
on 13 Oct 2020
Walter Roberson
on 13 Oct 2020
I do not understand where you got the 98 data samples from? You have been talking about 1 x 64.
ABDUL
on 5 Nov 2020
Answers (0)
Categories
Find more on Discrete Multiresolution Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!