cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Generate QAM coefficients?

ptc-5008524
1-Visitor

Generate QAM coefficients?

Hi all, I am new here and I am not sure if this is the right topic to post under. Nonetheless, I was trying to write code that generates the coefficients of a quadrature amplitude modulated signal. The equation of a QAM signal is given below.

qam+.PNG

From the equation above, a and b are the coefficients which come from a set as shown in the image below. Also, a and b together comprise all possible combinations of the numbers in the set.

qam1.PNG

M is the constellation size, for instance, 4-QAM, 64-QAM. Therefore, an example of a and b for 4-QAM would be as seen below.

qam2.PNG

As you can see, the maximum value is +/- sqrt(M) - 1 and all possible combinations are shown. Restating my question, I would like help in writing a function that would generate these values for me. It is quite easy to manually do it for small values of M but obviously for values of M like 64 and 1024, it would be quite difficult. Thank you in advance for any assistance provided.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:ptc-5008524)

Jonathan Mayers wrote:

Thanks for the reply but I have Mathcad 13 and it says it can't open the file.

You should have stated that in your quest.

Here is the file in Mathcad 11 format - this should work

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:ptc-5008524)

The attached file should help

Thanks for the reply but I have Mathcad 13 and it says it can't open the file.

Werner_E
25-Diamond I
(To:ptc-5008524)

Jonathan Mayers wrote:

Thanks for the reply but I have Mathcad 13 and it says it can't open the file.

You should have stated that in your quest.

Here is the file in Mathcad 11 format - this should work

I'll remember to state my version in future posts. Thanks alot!

Announcements

Top Tags