📄 plothamgilbbd.m
字号:
% 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -