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

P=polymul(a,b,Y)
function  P=polymul(a,b,Y)
% (X+a1)(X+a2)
   n=length(a)+length(b)-1;
   for i=1:n
       P(i)=1;
       for j=1:length(a)
           for l=1:length(b)
               if(j+l==i+1)
                  P(i)=add(P(i),mult(a(j),b(l),Y),Y);
               end;
            end;  
        end;
    end;
    

Contact us