Contents

constellation

System object: comm.BPSKDemodulator
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

Calculate Reference Signal Constellation for BPSK Demodulator

Create BPSK Demodulator System object™ and calculate its reference constellation.

Create a comm.BPSKDemodulator System object.

h = comm.BPSKDemodulator;

Calculate and display the reference signal constellation by calling the constellation function.

refC = constellation(h)
refC =

   1.0000 + 0.0000i
  -1.0000 + 0.0000i

Plot BPSK Demodulator Reference Signal Constellation

Create a BPSK Demodulator System object™ and then plot the reference signal constellation.

Create a comm.BPSKDemodulator System object.

h = comm.BPSKDemodulator;

Plot the reference constellation by calling the constellation function.

constellation(h)

Was this topic helpful?