bchgenpoly
Produce generator polynomials for BCH code
Syntax
Description
returns the narrow-sense generator polynomial of a BCH code with codeword length
genpoly
= bchgenpoly(N
,K
)N
and message length K
. For more information,
see Generator Polynomial of a BCH Code.
also specifies the output format of genpoly
= bchgenpoly(N
,K
,prim_poly
,outputFormat
)genpoly
as a Galois field array or
double-precision array.
Examples
Input Arguments
Output Arguments
Limitations
Valid values for
N
= 2M – 1, where M is an integer in the range [3, 16]. The maximum allowable value ofN
= 216 – 1 = 65,535.Valid values for
K
= [1, (N
– 1)].
Algorithms
References
[1] Peterson, W. Wesley, and E. J. Weldon. Error-Correcting Codes. 2d ed. MIT Press, 1972.
Version History
Introduced before R2006a