Communications Toolbox    

Output from the Example

The example produces output in the command window like that shown below. Since the message signal and the noise are random, you will probably not get the exact numbers below. (For information about states and repeatable sequences of random numbers, see the reference page for the built-in MATLAB function rand.)

The example also produces a figure window containing the signal constellation plot in the figure below. The horizontal axis represents the in-phase components and the vertical axis represents the quadrature components. The dots are the constellation points. The number next to each dot is the message symbol associated with that dot. By considering the binary form of each number from 0 to M-1, you can check that this constellation implements Gray code.

Figure 1-1: Square 8-ary QASK Signal Constellation, Labeled for Gray Code

 How the Example Works Using the Communications Toolbox