Introduction - If you have any usage issues, please Google them yourself
DECODED = RSDEC(CODE,N,K) attempts to decode the received signal in CODE
using an (N,K) Reed-Solomon decoder with the narrow-sense generator
polynomial. CODE is a Galois array of symbols over GF(2^m), where m is the
number of bits per symbol. Each N-element row of CODE represents a
corrupted systematic codeword, where the parity symbols are at the end and
the leftmost symbol is the most significant symbol. If N is smaller than
2^m-1, then RSDEC assumes that CODE is a corrupted version of a shortened
code.