Modulate using CPM method
The CPMModulator
object modulates using continuous
phase modulation. The output is a baseband representation of the modulated
signal.
To modulate a signal using continuous phase modulation:
Define and set up your CPM modulator object. See Construction.
Call step
to modulate a signal
according to the properties of comm.CPMModulator
.
The behavior of step
is specific to each object in
the toolbox.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations.
H = comm.CPMModulator
creates a modulator System object, H
.
This object modulates the input signal using the continuous phase
modulation (CPM) method.
H = comm.CPMModulator(
creates
a CPM modulator object, Name
,Value
)H
. This object has each
specified property set to the specified value. You can specify additional
name-value pair arguments in any order as (Name1
,Value1
,...,NameN
,ValueN
).
H = comm.CPMModulator(M,
creates
a CPM modulator object, Name
,Value
)H
, with the ModulationOrder
property
set to M
and the other specified properties set
to the specified values.
|
Size of symbol alphabet Specify the size of the symbol alphabet. The value of this property
must be a power of two, real, integer scalar. The default is |
|
Assume bit inputs Specify whether the input is bits or integers. The default
is When you set this property to When you set this property to |
|
Symbol encoding Specify the mapping of bit inputs as one of When you set this property to When you set this property to This property applies when you set the |
|
Modulation index Specify the modulation index. The default is where H-1 represents the length of the column vector. The phase shift over a symbol is π × h. When hi varies from interval to interval, the object operates in multi-h. When the object operates in multi-h, hi must be a rational number. |
|
Frequency pulse shape Specify the type of pulse shaping that the modulator uses to
smooth the phase transitions of the modulated signal. Choose from |
|
Main lobe duration of spectral raised cosine pulse Specify, in number of symbol intervals, the duration of the largest lobe of the spectral
raised cosine pulse. The default is |
|
Rolloff factor of spectral raised cosine pulse Specify the rolloff factor of the spectral raised cosine pulse. The default is
|
|
Product of bandwidth and symbol time of Gaussian pulse Specify the product of bandwidth and symbol time for the Gaussian pulse shape. The default is
|
|
Pulse length Specify the length of the frequency pulse shape in symbol intervals.
The value of this property requires a real, positive integer. The
default is |
|
Symbol prehistory Specify the data symbols used by the modulator prior to the first call to the |
|
Initial phase offset Specify the initial phase of the modulated waveform in radians
as a real, numeric scalar. The default is |
|
Number of samples per output symbol Specify the upsampling factor at the output as a real, positive,
integer scalar. The default is |
|
Data type of output Specify output data type as one of |
reset | Reset states of CPM modulator object |
step | Modulate using CPM method |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
This object implements the algorithm, inputs, and outputs described on the CPM Modulator Baseband block reference page. The object properties correspond to the block parameters. For CPM the phase shift per symbol is π × h, where h is the modulation index.