Communications Toolbox    

Simple Digital Modulation Example

This example illustrates the basic format of the baseband modulation and demodulation commands, dmodce and ddemodce. Although the example uses the PSK method, most elements of this example apply to digital modulation techniques other than PSK.

The example generates a random digital signal, modulates it, and adds noise. Then it creates a scatter plot, demodulates the noisy signal, and computes the symbol error rate. The ddemodce function demodulates the analog signal y and then demaps to produce the digital signal z.

Notice that the scatter plot does not look exactly like a signal constellation. Whereas the signal constellation would have 16 precisely located points, the noise causes the scatter plot to have a small cluster of points approximately where each constellation point would be. However, the noise is sufficiently small that the signal can be recovered perfectly.

Below are the code and the scatter plot.


  Representing Signal Constellations Customizing the Modulation Process