Where To Find This Example
Select Help > Open Examples... from the menus and type either the example name listed above or one of the keywords below.
Or in Version 13 or higher you can open the project directly from this page using this button.
Reed Solomon Encoding/Decoding
This example compares the behavior of the RS_ENC and RS_DEC blocks to the equivalent functions in MATLAB® . The VSS MATLAB block is used to invoke MATLAB. The VSS RS blocks allow specification of shortened codes, the initial root, and the scaling factor of the generator polynomial.
RS_ENC accepts k information symbols and encodes them to an output block of length n by adding n-k parity symbols.
RS_DEC accepts the n symbol block and produces the decoded k symbol block.
The digital source RND_D has an alphabet size of 2^m.
You need to have MATLAB and the Communications Toolbox installed in order to run this example. The MATLAB blocks call the gf(), rsenc() and rsdec() MATLAB functions.
m: number of bits/symbol over GF(2^m)
n: block length
k: message length
genpoly: generator polynomial in decimal e.g. D^3 + D^2 + 1 = 1 1 0 1 = 13
Note: MATLAB is a registered trademark of The MathWorks Inc.