This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


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.


collapse all

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×5 uint32 row vector

    1   13   12    8    7

See Also

| | |

Introduced in R2010b

Was this topic helpful?