step
System object: comm.PSKTCMModulator
Package: comm
Convolutionally encode binary data and map using M-ary PSK constellation
Syntax
Y = step(H,X)
Y = step(H,X,R)
Description
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.
Y = step(H,X)
convolutionally encodes and
modulates the input binary data column vector, X
,
and returns the encoded and modulated data, Y
. X
must
be of data type numeric, logical, or unsigned fixed point of word
length 1
(fi object). When the convolutional encoder
represents a rate K/N code,
the length of the input vector, X
, must be KL,
for some positive integer L. The step
method
outputs a complex column vector, Y
, of length L.
Y = step(H,X,R)
resets the encoder of the
PSK TCM modulator object to the all-zeros state when you input a reset
signal, R
, that is non-zero. R
must
be a double precision or logical scalar integer. This syntax applies
when you set the ResetInputPort
property to true
.
Note
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 and
input specifications. For more information on changing property values, see System Design in MATLAB Using System Objects.