rsgenpoly
Generator polynomial of Reed-Solomon code
Syntax
Description
returns the narrow-sense generator polynomial of an
[genpoly = rsgenpoly(N,K)N,K] Reed-Solomon code. The output
genpoly is a Galois field array that represents the coefficients of
the generator polynomial in order of descending powers. A narrow-sense BCH code is a BCH
code with B = 1. Here, the narrow-sense generator polynomial is
(X – α1)(X – α2)...(X – αN–K),
where α is a root of the default primitive polynomial for the field
GF(N+1). For additional information, see Narrow-Sense
BCH Codes and Reed-Solomon Codes.
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].
More About
Extended Capabilities
Version History
Introduced before R2006a