⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mm2734.m

📁 《精通matlab7》“mastering matlab 7”的代码。
💻 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 + -