Documentation

constellation

System object: comm.PSKModulator
Package: comm

Calculate or plot ideal signal constellation

Syntax

y = constellation(h)
constellation(h)

Description

y = constellation(h) returns the numerical values of the constellation.

constellation(h) generates a constellation plot for the object.

Examples

Plot PSK Reference Constellation

Create a PSK modulator.

mod = comm.PSKModulator;

Determine the reference constellation points.

refC = constellation(mod)
refC =

   0.9239 + 0.3827i
   0.3827 + 0.9239i
  -0.3827 + 0.9239i
  -0.9239 + 0.3827i
  -0.9239 - 0.3827i
  -0.3827 - 0.9239i
   0.3827 - 0.9239i
   0.9239 - 0.3827i

Plot the constellation.

constellation(mod)

Create a PSK demodulator having modulation order 16.

demod = comm.PSKDemodulator(16);

Plot its reference constellation. The constellation method works for both modulator and demodulator objects.

constellation(demod)

Was this topic helpful?