Hello.
I was given a Simulink block diagram to simulate QAM modulation and note down the BER for further comparison with M-PSK BER.
In Simulink, when I enter the QAM modulator and set the parameters, there is a button that allows me to see the constellation diagram. This is only a theoretical approach, so, not many technical details were taught to us.
I have attached the file from Simulink so that anyone can help me. The problem is that the constellation diagram looks like the one from M-PSK in a square shape when it should be in a circular shape! How do I set this correctly?
Note:
There are environment variables that were set in MatLab and that Simulink uses as some blocks parameters in the block diagram.
So, for instance, if I want 16-QAM, I have to set M=16 in MatLab window! There is another variable which is SNR but for the constellation purpose, I believe there is no need to change this one. If the simulation doesn't run, set SNR = 20.
I was given a Simulink block diagram to simulate QAM modulation and note down the BER for further comparison with M-PSK BER.
In Simulink, when I enter the QAM modulator and set the parameters, there is a button that allows me to see the constellation diagram. This is only a theoretical approach, so, not many technical details were taught to us.
I have attached the file from Simulink so that anyone can help me. The problem is that the constellation diagram looks like the one from M-PSK in a square shape when it should be in a circular shape! How do I set this correctly?
Note:
There are environment variables that were set in MatLab and that Simulink uses as some blocks parameters in the block diagram.
So, for instance, if I want 16-QAM, I have to set M=16 in MatLab window! There is another variable which is SNR but for the constellation purpose, I believe there is no need to change this one. If the simulation doesn't run, set SNR = 20.
Attachments
-
10.2 KB Views: 3