📄 mm2734.m
字号:
fstr=['3*(1-x).^2.*exp(-(x.^2) - (y+1).^2)' ... ' - 10*(x/5 - x.^3 - y.^5).*exp(-x.^2-y.^2)' ... ' - 1/3*exp(-(x+1).^2 - y.^2)'];
subplot(2,2,1)
ezmesh(fstr)
title('Figure 27.34a: Mesh of peaks(x,y)')
subplot(2,2,2)
ezsurf(fstr)
title('Figure 27.34b: Surf of peaks(x,y)')
subplot(2,2,3)
ezcontour(fstr)
title('Figure 27.34c: Contour of peaks(x,y)')
subplot(2,2,4)
ezcontourf(fstr)
title('Figure 27.34d: Contourf of peaks(x,y)')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -