Plot PSK symbol mapping for Gray and natural binary encoded data.
Set the modulation order, and then create a data sequence containing a complete set of constellation points.
M = 8;
data = (0:M-1);
phz = 0;
Modulate and demodulate the data using Gray and natural binary encoded data.
symgray = pskmod(data,M,phz,'gray');
mapgray = pskdemod(symgray,M,phz,'gray');
symbin = pskmod(data,M,phz,'bin');
mapbin = pskdemod(symbin,M,phz,'bin');
Plot the constellation points using one of the symbol sets. For each constellation point, assign a label indicating the Gray and natural binary values for each symbol.
For Gray binary symbol mapping, adjacent constellation points differ by a single binary bit and are not numerically sequential.
For natural binary symbol mapping, adjacent constellation points