plothamgilbbd.m
来自「压缩文件中是Error Correction Coding - Mathemat」· M 代码 · 共 21 行
M
21 行
% Plot the Hamming and Gilbert bounds for binary codes% Copyright 2004 by Todd K. Moon% Permission is granted to use this program/data% for educational/research only% r = n-knlist=50:10:1000;t = 3;rminlist = [];rmaxlist = [];for n = nlist rmin = log2(Hammsphere(n,2,t)); rmax = log2(Hammsphere(n,2,2*t)); rminlist = [rminlist rmin]; rmaxlist = [rmaxlist rmax];endplot(nlist,rminlist);hold on;plot(nlist,rmaxlist,'r');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?