ConvGenerateEncoder: Generate convolutional encoder.

Description Usage Arguments Details Value Author(s) Examples

Description

Generates a convolutional encoder for nonrecursive convolutional codes.

Usage

1
ConvGenerateEncoder(N, M, generators)

Arguments

N

Numer of output symbols per input symbol.

M

Memory length of the encoder.

generators

Vector of N octal generator polynoms (one for each output symbol).

Details

N is an integer and gives the number of output bits per input bit. N has to be at least two. M is an integer and gives the memory length of the encoder (number of shift register elements in the circuit). M has to be at least one. M also defines the constraint length which is M+1. The generator polynoms define how the output bits are computed for each of the N output signals. The polynoms are octal numbers. For example given a M = 2 encoder with a generator polynom of 5 for a certain output. Octal 5 means binary 101. The MSB handles the input signal, the LSB handles the output of the last memory element (last shift register element). Therefore octal 5 means the output symbol is computed as the xor combination of the input symbol and the last memory element's output.

Value

A convolutional encoder represented as a list containing: N, M, vector of generator polynoms, 3 matrices: nextState, previousState and output, rsc flag, termination vector

Author(s)

Martin Nocker

Examples

1
2
# standard convolutional encoder with code-rate = 0.5
ConvGenerateEncoder(2,2,c(7,5))

DaniWi/Channelcoding documentation built on May 6, 2019, 1:23 p.m.