Calculate or plot ideal signal constellation
symbols = constellation(obj)
constellation(obj)
example
symbols = constellation(obj) returns the numerical values of the constellation.
obj
constellation(obj) generates a constellation plot for the object.
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
constellation(demod)
System object to return constellation for, specified as a comm.QPSKModulator System object.
comm.QPSKModulator
Data Types: object
object
You have a modified version of this example. Do you want to open this example with your edits?