www.pudn.com > matlab.rar > code.m, change:2015-04-19,size:218b


msg = 1:223; 
rs_code = rs_encode(msg); 
for i = 1:255 
 r_x(i*8-7:i*8) = de2bi(rs_code(i),8); 
end 
for i = 1:255 
  cnv_code(i*28-27:i*28) = cnv_encd(r_x(i*8-7:i*8)); 
end 
 
%r_x(1:8) 
%cnv_code = cnv_encd(r_x(1:8))