System object: comm.TurboEncoder
Package: comm

Encode input signal using parallel concatenated coding scheme


Y = step(H,X)


Y = step(H,X) encodes the input data, X, using the parallel concatenated convolutional coding scheme that you specify using the TrellisStructure and InterleaverIndices properties. It returns the binary decoded data, Y. Both X and Y are column vectors of numeric, logical, or unsigned fixed point with word length 1 (fi object). When the constituent convolutional encoder represents a rate 1/N code, the step method sets the length of the output vector, Y, to L*(2*N-1)+2*numTails where L represents the input vector length and numTails is given by log2(TrellisStructure.numStates)*N. The tail bits, due to the termination, are appended at the end after the input bits are encoded.

Y = step(H, X, INTERLVRINDICES) uses the INTERLVRINDICES specified as an input. INTERLVRINDICES is a column vector containing integer values from 1 to L with no repeated values. The length of the data input X and the INTERLVRINDICES input must be the same.

    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.

Was this topic helpful?