computelm.m

来自「压缩文件中是Error Correction Coding - Mathemat」· M 代码 · 共 18 行

M
18
字号
function Lm = computeLm(n,k,m)%function Lm = computeLm(n,k,m)%% Compute the maximum length of a list for an (n,k)% code using GS(m) decoding% Todd K. Moon, Feb. 12, 2004% Copyright 2004 by Todd K. Moon% Permission is granted to use this program/data% for educational/research only   v = k-1;   if(m==0) Lm = 1; return; end   t = (v+2)/(2*v);   Lm = floor(sqrt( n*m*(m+1)/v + t*t) - t);

⌨️ 快捷键说明

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