Modulate using Mary differential phase shift keying method
PM, in Digital Baseband sublibrary of Modulation
The MDPSK Modulator Baseband block modulates using the Mary differential phase shift keying method. The output is a baseband representation of the modulated signal. The Mary number parameter, M, is the number of possible output symbols that can immediately follow a given output symbol.
The input must be a discretetime signal. For integer inputs, the block can accept the
data types int8
, uint8
, int16
,
uint16
, int32
, uint32
,
single
, and double
. For bit inputs, the block
can accept int8
, uint8
, int16
,
uint16
, int32
, uint32
,
boolean
, single
, and
double
.
The input can be either bits or integers, which are binarymapped or Graymapped into symbols.
This block accepts column vector input signals. For a bit input, the input width must be an integer multiple of the number of bits per symbol.
If you set the Input type parameter to
Integer
, then valid input values are integers between
0 and M1. In this case, the input can be either a scalar or a framebased column
vector. If the first input is k_{1}, then the modulated symbol
is
$$\mathrm{exp}\left(j\theta +j2\pi \frac{{k}_{1}}{m}\right)$$
where θ represents the Phase rotation parameter. If a successive input is k, then the modulated symbol is
$$\mathrm{exp}\left(j\theta +j2\pi \frac{k}{m}\right)\cdot (\text{previousmodulatedsymbol})$$
When you set the Input type parameter to Bit
,
the block accepts binaryvalued inputs that represent integers. The
block collects binaryvalued signals into groups of K =
log_{2}(M) bits
where
K represents the number of bits per symbol.
The input vector length must be an integer multiple of K. In this configuration, the block accepts a group of K bits and maps that group onto a symbol at the block output. The block outputs one modulated symbol for each group of K bits.
The input can be a column vector with a length that is an integer multiple of K.
In binary input mode, the Constellation ordering parameter
indicates how the block maps a group of K input bits to a
corresponding phase difference. The Binary
option uses a
natural binarytointeger mapping, while the Gray
option
uses a Graycoded assignment of phase differences. For example, the following table
indicates the assignment of phase difference to threebit inputs, for both the
Binary
and Gray
options. θ
is the Phase rotation parameter. The phase difference is
between the previous symbol and the current symbol.
Current Input  BinaryCoded Phase Difference  GrayCoded Phase Difference 

[0 0 0]  jθ  jθ 
[0 0 1]  jθ + jπ/4  jθ + jπ/4 
[0 1 0]  jθ + jπ2/4  jθ + jπ3/4 
[0 1 1]  jθ + jπ3/4  jθ + jπ2/4 
[1 0 0]  jθ + jπ4/4  jθ + jπ7/4 
[1 0 1]  jθ + jπ5/4  jθ + jπ6/4 
[1 1 0]  jθ + jπ6/4  jθ + jπ4/4 
[1 1 1]  jθ + jπ7/4  jθ + jπ5/4 
For more details about the Binary
and
Gray
options, see the reference page for the MPSK Modulator Baseband block. The signal constellation for that block
corresponds to the arrangement of phase differences for this block.
The number of possible output symbols that can immediately follow a given output symbol.
Indicates whether the input consists of integers or groups of bits. If
this parameter is set to Bit
, then the
Mary number parameter must be
2^{K} for some positive integer K.
Determines how the block maps each group of input bits to a corresponding integer.
The phase difference between the previous and current modulated symbols when the input is zero.
The output data type can be either single
or
double
. By default, the block sets this to
double
.
Port  Supported Data Types 

Input 

Output 

[1] Pawula, R. F., "On Mary DPSK Transmission Over Terrestrial and Satellite Channels," IEEE Transactions on Communications, Vol. COM32, July 1984, 752761.