⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rs_decode_root.m

📁 (31,25)RS编码及解码matlab程序
💻 M
字号:
% a function to calculate the roots of locator polynomial
function root=rs_decode_root(sigma_x)
T=[1,2,4,8,16,5,10,20,13,26,17,7,14,28,29,31,27,19,3,6,12,24,21,15,30,25,23,11,22,9,18];
j=1;
root=[];
for i=0:30
    result=rs_poly(sigma_x,T(i+1));
        if result==0
            root(j)=T(i+1);
            j=j+1;
        end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -