This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this 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 = 1x5 uint32 row vector

    1   13   12    8    7

Extended Capabilities

See Also

| | |

Introduced in R2010b