BlockGenerateEncoderBCH: Generate BCH encoder.

Description Usage Arguments Details Value Author(s) Examples

Description

Generates a block encoder for BCH block codes.

Usage

1
BlockGenerateEncoderBCH(code.length = 15, code.t = 3)

Arguments

code.length

Length of the encoded message

code.t

Error correcting capability

Details

Apart from necessary parameters like data.length, a BCH encoder consists of a Generator Polynomial, which is needed for encoding, and the polynomial and index representation of the underlying Galois Field GF(code.length+1), which is needed for constructing and solving the error location Polynomial.

Value

A block encoder represented as a list containing: type, code.length, code.m(minimal m for 2^m >= code.length), data.length, code.t, gen.poly, 2 Vectors alpha_to and index_of describing the Galois Field GF(2^m)

Author(s)

Benedikt Wimmer

Examples

1
2
# standard bch encoder with code-rate = 0.33
BlockGenerateEncoderBCH(15,3)

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