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

📄 gfsubstitute.m

📁 This matlab code on reed solomon and BCH encoding and different decoding algorithms. Also errors and
💻 M
字号:
function sum = gfsubstitute(polynomial,value,terms,n,field)

%use: gfsubstitute(polynomial,value,terms,n,field)
%Subtitute i^value in polynomial
%the number of terms in polynomial
%n = n of the decoder

sum = polynomial(1);
for cc = 2:terms
        sum = gfadd(sum,gfmul(polynomial(cc),gfpow(value,cc-1,n),field),field); %Sum all the terms
end

⌨️ 快捷键说明

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