Generator polynomial coefficients of Reed-Solomon code


x = rsgenpolycoeffs(...)
[x,t] = rsgenpolycoeffs(...)


x = rsgenpolycoeffs(...) returns the coefficients for the generator polynomial of the Reed-Solomon code. The output is identical to genpoly = rsgenpoly(...); x = genpoly.x.

[x,t] = rsgenpolycoeffs(...) returns t, the error-correction capability of the code.


expand all

Generate Polynomial Coefficients for a Reed-Solomon Code

This example shows how to generate polynomial coefficients for a (15,11) Reed-Solomon code.

Generate the coefficients using rsgenpolycoeffs.

genpoly = rsgenpolycoeffs(15,11)
genpoly =

           1          13          12           8           7

See Also

| | |

Was this topic helpful?