entplot.m

来自「Mathematical Methods by Moor n Stiling.」· M 代码 · 共 11 行

M
11
字号
% plot the binary entropy function
% Copyright 1999 by Todd K. Moon

p=0:0.01:1
Hp = H(p);
subplot(3,3,1);
plot(p,Hp);
xlabel('p')
ylabel('H(p)')
print -dps ../pictures/entplot.ps
print -deps ../pictures/entplot.eps

⌨️ 快捷键说明

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