Demodulate using M-ary PSK method
The PSKDemodulator
object demodulates an input
signal using the M-ary phase shift keying (M-PSK) method.
To demodulate a signal that was modulated using phase shift keying:
Define and set up your PSK demodulator object. See Construction.
Call step
to demodulate the signal
according to the properties of comm.PSKDemodulator
.
The behavior of step
is specific to each object in
the toolbox.
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.PSKDemodulator
creates a demodulator System
object, H
.
This object demodulates the input signal using the M-ary phase shift
keying (M-PSK) method.
H = comm.PSKDemodulator(
creates
an M-PSK demodulator object, Name
,Value
)H
, with 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.PSKDemodulator(M,PHASE,
creates
an M-PSK demodulator object, Name
,Value
)H
. This object has
the ModulationOrder
property set to M
,
the PhaseOffset
property set to PHASE
,
and the other specified properties set to the specified values. M
and PHASE
are
value-only arguments. To specify a value-only argument, you must also
specify all preceding value-only arguments. You can specify name-value
pair arguments in any order.
|
Number of points in signal constellation Specify the number of points in the signal constellation as
a positive, integer scalar value. The default is |
|
Phase of zeroth point of constellation Specify the phase offset of the zeroth point of the constellation,
in radians, as a real scalar value. The default is |
|
Output data as bits Specify whether the output consists of groups of bits or integer symbol values. The default is
|
|
Constellation encoding Specify how the object maps an integer or group of log2( |
|
Custom constellation encoding Specify a custom constellation symbol mapping vector. The default is |
|
Demodulation decision method Specify the decision method the object uses as |
|
Source of noise variance Specify the source of the noise variance as one of |
|
Noise variance Specify the variance of the noise as a positive, real scalar value. The default is 1. If this
value is very small (i.e., SNR is very high), log-likelihood ratio (LLR)
computations may yield Inf or –Inf. This result occurs because the LLR
algorithm computes the exponential of very large or very small numbers using
finite-precision arithmetic. In such cases, use approximate LLR instead
because the algorithm for that option does not compute exponentials. This
property applies when you set the |
|
Data type of output Specify the output data type as When you set |
constellation | Calculate or plot ideal signal constellation |
step | Demodulate using M-ary PSK method |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |