I need star 16 QAM Modulator and demodulator design matlab code
Please suggest me how to make the code. The sample constellation diagram given below.
I want to make the code for this constellation with different ring radius.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here‘s an example Matlab script that does Star-16-QAM mapping with Gray mapping, models an AWGN channel and does the decision and demapping. The bit error rate (BER) is also calculated. I’ll shortly explaing how it works.
First, we create a random bit sequence with ‘0’ and ‘1’ occuring with equal probability. The radius of the inner and outer circle of the constellation diagram are also defined.
In the next step we define the mapping table that maps an integer index number to a complex symbol. This is done in such a way, that two neighbouring symbols only differ in one bit. This is called Gray mapping.
Now for each block of 4 bits we calculate the symbol index and look up the according complex symbol in our mapping table.
In a practical communication system the real and imaginary part of the complex symbols will now be converted to an analog signal (with an impulse shaper) and be modulated onto a radio frequency carrier. Here, we assume that D/A and A/D conversion as well as modulation and demodulation are ideal, so that we don’t need to model it. Furthermore, the channel is assumed to be ideal, i.e. flat in the frequency domain. However, we will consider noise by adding white Gaussian noise. Note that the noise power is equally distributed on the real and imaginary part of the signal.
Finally, for each received symbol, we determine the constellation point with the minimum distance and convert the symbol index back to a sequence of bits.
Of course, we’re interested in the number of bit errors:
And plotting transmitted and received signal yields the typical constellation diagram:
I uploaded the complete source code in a whole: http://pastebin.com/MDcVLZhh