lteConvolutionalEncode

Convolutional encoding

Syntax

``output = lteConvolutionalEncode(input)``

Description

example

````output = lteConvolutionalEncode(input)` returns the result of convolutionally encoding the input data vector `input`. The convolutional code has constraint length 7 and is tail biting with coding rate 1/3 and octal polynomials G0=133, G1=171 and G2=165. Because the code is tail-biting, `output` is three times the length of the input. The three encoded parity streams are concatenated block-wise to form the encoded output that is, ```out = [D0 D1 D2]``` where `D0`,` D1`, and `D2` are the separate vectors resulting from encoding the input `input` with the individual polynomials G0, G1, and G2. ```

Examples

collapse all

Perform convolutional encoding and compare the length of the input vector to the length of the output vector.

Perform convolutional encoding of a vector of length 100.

```coded = lteConvolutionalEncode(ones(100,1)); size(coded)```
```ans = 1×2 300 1 ```

The resulting output is a coded vector of length 300, which is three times the length of the input vector, as expected.

Input Arguments

collapse all

Input data vector, specified as a column vector.

Output Arguments

collapse all

Convolutionally encoded data, returned as a column vector. Because the code is tail biting, `output` is three times the length of the input. The three encoded parity streams are concatenated block-wise to form the encoded output that is, ```out = [D0 D1 D2]``` where `D0`,`D1`, and `D2` are the separate vectors resulting from encoding the input `input` with the individual octal polynomials G0=133, G1=171, and G2=165.

Data Types: `int8`

Version History

Introduced in R2014a