Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

constellation

System object: comm.PAMDemodulator
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 Ideal PAM Signal Constellation

Create comm.PAMModulator and comm.PAMDemodulator System objects™, and then calculate their ideal signal constellations.

Create a modulator and demodulator objects.

mod = comm.PAMModulator;
demod = comm.PAMModulator;

Calculate the constellation points.

refMod = constellation(mod)
refDemod = constellation(demod)
refMod =

    -3
    -1
     1
     3


refDemod =

    -3
    -1
     1
     3

Verify that both objects produce the same points.

isequal(refMod,refDemod)
ans =

  logical

   1

Display the ideal signal constellation.

constellation(mod)

Was this topic helpful?