Decode ReedSolomon code to recover binary vector data
Communications Toolbox / Error Detection and Correction / Block
The BinaryOutput RS Decoder block recovers a binary message vector from a binary ReedSolomon codeword vector. For proper decoding, the parameter values in this block must match parameter values in the corresponding BinaryInput RS Encoder block.
The symbols for the code are binary sequences of length M, corresponding to elements of the Galois field GF(2^{M}). The first bit in each symbol is the most significant bit.
This figure shows the decoder inputoutput word length for codeword length N=7 and message word length K=2. Since N=2^{M}–1, when N=7, the symbol length, M=3.
Each input codeword is a binary vector of length 21 that represents 7 threebit integers. Each corresponding output message word is a binary vector of length 6, that represents 2 threebit integers. For more information, see Input and Output Signal Length in RS Blocks.
This icon shows all ports, including optional ones:
Data Types 

Multidimensional Signals 

VariableSize Signals 

^{[a]} ufix(1) only. 
This block uses the BerlekampMassey decoding algorithm. For information about this algorithm, see Algorithms for BCH and RS Errorsonly Decoding.
[1] Wicker, Stephen B. Error Control Systems for Digital Communication and Storage. Upper Saddle River, NJ: Prentice Hall, 1995.
[2] Berlekamp, Elwyn R. Algebraic Coding Theory. New York: McGrawHill, 1968.
[3] Clark, George C., Jr., and J. Bibb Cain. ErrorCorrection Coding for Digital Communications. New York: Plenum Press, 1981.