Chien搜索BCH译码算法
代码说明:
说明: %inverstable inverse_tb = gf(zeros(1, t+1), m); for i=1:t+1, inverse_tb(i) = alpha^(-i+1); end; %chien's search lambda_v = zero; accu_tb=gf(ones(1, t+1), m); for i=1:n, lambda_v=lambda*accu_tb'; accu_tb = accu_tb.*inverse_tb; if(lambda_v==zero) error(1,n-i+1)=1; else error(1,n-i+1)=0; end end found = find(error(1,:)~=0)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!