Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
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.
Solved! Go to Solution.
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
Thanks for the reply but I have Mathcad 13 and it says it can't open the file.
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!