Convert convolutional code polynomials to trellis description

returns the trellis structure description corresponding to the conversion for a rate
`trellis`

= poly2trellis(`ConstraintLength`

,`CodeGenerator`

)*K* / *N* feedforward encoder.
*K* is the number of input bit streams to the encoder, and
*N* is the number of output connections.
`ConstraintLength`

specifies the delay for the input bit
streams to the encoder. `CodeGenerator`

specifies the output
connections for the input bit streams to the encoder.

The poly2trellis function accepts a polynomial description of a convolutional
encoder and returns the corresponding trellis structure description. This output can
be used as an input to the `convenc`

and `vitdec`

functions. It can also be used as a mask parameter value for
the Convolutional Encoder, Viterbi Decoder, and APP Decoder blocks.

**Note**

When used with a feedback polynomial, poly2trellis makes a feedback connection to the input of the trellis.

returns the trellis structure description corresponding to the conversion for a rate
`trellis`

= poly2trellis(`ConstraintLength`

,`CodeGenerator`

,`FeedbackConnection`

)*K* / *N* feedback encoder.
*K* is the number of input bit streams to the encoder, and
*N* is the number of output connections.
`ConstraintLength`

specifies the delay for the input bit
streams to the encoder. `CodeGenerator`

specifies the output
connections for the input bit streams to the encoder.
`FeedbackConnection`

specifies the feedback connection for
each of the *K* input bit streams to the encoder.