mm2621.m
来自「matlab7.0这本书的源代码」· M 代码 · 共 18 行
M
18 行
% mm2621.msubplot(2,2,1)fplot(@humps,[-.5 3])title('Figure 26.21a: Fplot of the Humps Function')xlabel('x')ylabel('humps(x)')subplot(2,2,2)fstr='sin(x)/(x)';ezplot(fstr,[-15,15])title(['Figure 26.21b: ' fstr])subplot(2,2,3)istr='(x-2)^2/(2^2) + (y+1)^2/(3^2) - 1';ezplot(istr,[-2 6 -5 3])axis squaregridtitle(['Figure 26.21c: ' istr])
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?