System object: comm.BPSKDemodulator
Package: comm
Demodulate using BPSK method
Y = step(H,X)
Y = step(H,X,VAR)
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.
Y = step(H,X)
demodulates input data, X
,
with the BPSK demodulator System
object, H
,
and returns Y
. Input X
must
be a scalar or a column vector with double or single precision data
type. When you set the DecisionMethod
property to Hard
decision
, the data type of the input can also be signed
integer, or signed fixed point (fi objects).
Y = step(H,X,VAR)
uses soft decision demodulation
and noise variance VAR
. This syntax applies when
you set the DecisionMethod
property to Log-likelihood
ratio
or Approximate log-likelihood ratio
and
the VarianceSource
property to Input port
.
The data type of input VAR
must be double or
single precision.
obj
specifies the System
object on
which to run this step
method.
The object performs an initialization the first time the step
method
is executed. This initialization locks nontunable
properties (MATLAB) and input specifications, such as dimensions,
complexity, and data type of the input data. If you change a nontunable
property or an input specification, the System
object issues an
error. To change nontunable properties or inputs, you must first call
the release
method to unlock the object.