When simulating digital modulations in Matlab, it is useful to verify the simulated BER performance curves against theoretical BER curves.Matlab has an inbuilt visualization tool, ‘BERTOOL’, for this purpose.
Matlab’s BERTOOL supports 6 types of digital modulations over 3 types of channel for plotting theoretical BER. The six supported modulations are PSK,DPSK,OQPSK,PAM,QAM,FSK and the three channel types are : AWGN,Rayleigh,Rician. It also has options to set diversity order, channel coding, synchronization method and demodulation type(coherent/non-coherent).
A brief intro to the tool is given here. You might need to install communication toolbox for invoking this tool.
Invoke the BERTOOL GUI using the command (tested with R2012b)
>>bertool
Set the desired configuration and click plot.
You can export the data from BERTOOL to the workspace. After you have exported it to the workspace, you can plot it against your simulation curve for verification.
For a detailed documentation: Matlab documentation on BERTOOL
Hello;
Do you know what constellation Matlab BERTOOL uses for QAM?
Because it is very sensitive to the constellation.
I think because of this your program in book, has a different bit error rate comparing to Matlab BERTOOL.
both use rectangular constellation and the curves will match.