comm.PSKModulator
(To be removed) Modulate signal using M-PSK method
comm.PSKModulator will be removed in a future release. Use pskmod
instead. For information on updating your code, see Version History.
Description
The PSKModulator
System object™ modulates using the M-ary phase shift keying (M-PSK) method. The output is a
baseband representation of the modulated signal.
To modulate a signal by using the M-PSK method:
Create the
comm.PSKModulator
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 the M-ary phase shift keying (M-PSK)
method.mpskmod
= comm.PSKModulator
sets properties using one or more name-value arguments. For example,
mpskmod
= comm.PSKModulator(Name
=Value
)BitInput=true
specifies input values must be binary.
sets the mpskmod
= comm.PSKModulator(M
,phase
,Name
=Value
)ModulationOrder
property to
M
, and optional name-value arguments.
sets the mpskmod
= comm.PSKModulator(M
,phase
,Name
=Value
)ModulationOrder
property to
M
, the PhaseOffset
property to
phase
, and optional name-value arguments. Specify
phase
in radians.
Properties
Usage
Description
modulates the input signal by using the M-PSK method. The output is the modulated M-PSK
baseband signal.mpsksignal
= mpskmod(insignal
)
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)
Examples
Algorithms
For binary-encoding, the output baseband signal maps input bits or integers to complex symbols according to:
When the input is configured for bits, groups of log2(M) bits represent the complex symbols for the configured symbol mapping. The mapping can be binary encoded, Gray encoded, or custom encoded.
Gray coding has the advantage that only one bit changes between adjacent constellation points, which results in better bit error rate performance. This table shows the mapping between the input and output symbols for 8-PSK modulation with Gray coding.
Input | Output |
---|---|
0 | 0 (000) |
1 | 1 (001) |
2 | 3 (011) |
3 | 2 (010) |
4 | 6 (110) |
5 | 7 (111) |
6 | 5 (101) |
7 | 4 (100) |
This constellation diagram shows the corresponding symbols and their binary values.
References
[1] Proakis, John G. Digital Communications. 4th ed. New York: McGraw Hill, 2001.