Communications Blockset    

Parameters for Convolutional Coding

To process convolutional codes (including turbo codes), use the Convolutional Encoder, Viterbi Decoder, and/or APP Decoder blocks in the Convolutional sublibrary. If a mask parameter is required in both the encoder and the decoder, then use the same value in both blocks.

The blocks in the Convolutional sublibrary assume that you use one of two different representations of a convolutional encoder:

Details about these representations are in the sections Polynomial Description of a Convolutional Encoder and Trellis Description of a Convolutional Encoder in the Communications Toolbox User's Guide.

Using the Polynomial Description in Blocks

To use the polynomial description with the Convolutional Encoder, Viterbi Decoder, or APP Decoder blocks, you can use the utility function poly2trellis, from the Communications Toolbox. This function accepts a polynomial description and converts it into a trellis description. For example, the following command computes the trellis description of an encoder whose constraint length is 5 and whose generator polynomials are 35 and 31.

To use this encoder with one of the convolutional coding blocks, simply place a poly2trellis command such as

in the Trellis structure parameter field.


  Convolutional Coding Features of the Blockset Example: A Rate 2/3 Feedforward Encoder