# step

System object: comm.GeneralQAMTCMModulator
Package: comm

Convolutionally encode binary data and map using arbitrary QAM constellation

## Syntax

`Y = step(H,X)Y = step(H,X,R)`

## Description

`Y = step(H,X)` convolutionally encodes and modulates the input data, `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 K$×$L, 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 general QAM TCM modulator object to the all-zeros state when you input a non-zero reset signal, `R`. `R` must be a double precision or logical scalar integer. This syntax applies when you set the `ResetInputPort` property to true.

 Note:   `H` 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, 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.

Get trial now