constellation

Calculate or plot ideal signal constellation

Description

example

symbols = constellation(obj) returns the numerical values of the constellation.

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

Examples

collapse all

Create a QPSK modulator.

mod = comm.QPSKModulator;

Determine the reference constellation points.

refC = constellation(mod)
refC = 4×1 complex

   0.7071 + 0.7071i
  -0.7071 + 0.7071i
  -0.7071 - 0.7071i
   0.7071 - 0.7071i

Plot the constellation.

constellation(mod)

Create a PSK demodulator having 0 phase offset.

demod = comm.QPSKDemodulator('PhaseOffset',0);

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

constellation(demod)

Input Arguments

collapse all

System object to return constellation for, specified as a comm.QPSKModulator System object.

Data Types: object

See Also

Objects

Introduced in R2012a