Code covered by the BSD License  

Highlights from
reed solomon code

reed solomon code

by

 

24 Dec 2010 (Updated )

everything about RS generation and generation polynomial and encoding and syndrome

BerMasstest.m
% 2 = number of error
Y=GF(3,[1 0 1 1]); 
G=[2 5 3 2 5 ];
I=[3 5 7];
E=encoder (I, G, Y);
Er=[1 1 1 4 7 1 1 ];
S=syndrome(E,Er,2,Y)
[A,R]=BerMass(S,2,Y)
GA=GAMMA(A,S,2,Y)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %    0     0     0     0          1
 %    0     0     1     a0         2
 %    0     1     0     a1         3
 %    1     0     0     a2         4
 %    0     1     1     a3         5
 %    1     1     0     a4         6
 %    1     1     1     a5         7
 %    1     0     1     a6         8 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



 

Contact us