comm.PAMModulator
(Not recommended) Modulate using M-ary pulse amplitude modulation
comm.PAMModulator
is not recommended. Use pammod
instead. For more information, see Version History.
Description
The comm.PAMModulator
System object™ modulates a signal by using
M-ary pulse amplitude modulation (PAM) method. The output is a
baseband representation of the modulated signal.
To modulate a signal using M-ary pulse amplitude modulation:
Create the
comm.PAMModulator
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Syntax
Description
creates a
modulator System object that modulates the input signal using M-PAM
method.pammodulator
= comm.PAMModulator
pammodulator = comm.PAMModulator(
sets Properties using one or more name-value arguments.
For example, Name=Value
)comm.PAMModulator(ModulationOrder=2)
sets the
number of points in the signal constellation to 2
.
sets the pammodulator
= comm.PAMModulator(M
,Name=Value
)ModulationOrder
property by using M
input argument.
Input Arguments
Properties
Usage
Syntax
Description
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)