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

📄 gfdiff.m

📁 This matlab code on reed solomon and BCH encoding and different decoding algorithms. Also errors and
💻 M
字号:
function diff = gfdiff(polynomial)

%use: diff = gfdiff(polynomial)
%Differentiate polynomial with respect to x
l = length(polynomial);

for cc = 2:l
        %cc-1 represents the power of x
        if mod(cc-1,2) == 0 %all the even powers are zero because of GF(2)
            diff(cc-1) = -Inf; 
        else
            diff(cc-1) = polynomial(cc);
        end
end

⌨️ 快捷键说明

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