rsenc too performs RS encoding using narrow-sense generator polynomial, as
clearly mentioned in the MALTAB-help and reference page of the function.
When n is not of the form 2^m-1, as is the case in your example, rsenc uses
a shortened RS code - reference page explains this too.
To see the generator polynomial used by rsenc, just open the file - type
"edit rsenc.m" at MATLAB command prompt. You would see a call to rsgenpoly,
with the right set of parameters. You can place a breakpoint on that line
and see the generator polynomial used by rsenc.
HTH,
Chandresh
"Muhammad" <
nazmul...@gmail.com> wrote in message
news:n06fmf$i8a$1...@newscl01ah.mathworks.com...