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

SOLVED
1-Newbie

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.

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.

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.

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.

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby IV
(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

4 REPLIES 4
24-Ruby IV
(To:ptc-5008524)

The attached file should help

1-Newbie
(To:Werner_E)

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

24-Ruby IV
(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

1-Newbie
(To:Werner_E)

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

Announcements
Check out the latest