Communications Blockset    
Integer-Output RS Decoder

Decode a Reed-Solomon code to recover integer vector data

Library

Block sublibrary of Channel Coding

Description


The Integer-Output RS Decoder block recovers a message vector from a Reed-Solomon codeword vector. For proper decoding, the parameter values in this block should match those in the corresponding Integer-Input RS Encoder block.

If the Reed-Solomon code has message length K and codeword length N, then N must have the form 2M-1 for some integer M greater than or equal to 3. The code is more efficient if N-K is an even integer.

The input and first output are integer-valued signals that represent codewords and messages, respectively. The integers in these signals represent elements of the finite field GF(2M) and hence must be between 0 and 2M-1.

The input must contain exactly N elements. If it is frame-based, then it must be a column vector. The first output is a vector of length K.

The second output is the number of errors detected during decoding of the codeword. A negative integer indicates that the block detected more errors than it could correct using the coding scheme. An (N,K) Reed-Solomon code can correct up to floor((N-K)/2) symbol errors (not bit errors) in each codeword.

The sample times of the input and output signals are equal.

Dialog Box

Codeword length N
The codeword length, which is also the input vector length.
Message length K
The message length, which is also the output vector length.

Pair Block

Integer-Input RS Encoder

See Also

Binary-Output RS Decoder


 Integer-Input RS Encoder Integer to Bit Converter