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

📄 mm2609.m

📁 《精通matlab7》“mastering matlab 7”的代码。
💻 M
字号:
% mm2609.mx = linspace(0,2*pi,30);y = sin(x);
z = cos(x);a = 2*sin(x).*cos(x);b = sin(x)./(cos(x)+eps); subplot(2,2,1) % pick the upper left of a 2-by-2 grid of subplotsplot(x,y), axis([0 2*pi -1 1]), title('Figure 26.9a: sin(x)') subplot(2,2,2) % pick the upper right of the 4 subplotsplot(x,z), axis([0 2*pi -1 1]), title('Figure 26.9b: cos(x)') subplot(2,2,3) % pick the lower left of the 4 subplotsplot(x,a), axis([0 2*pi -1 1]), title('Figure 26.9c: 2sin(x)cos(x)') subplot(2,2,4) % pick the lower right of the 4 subplotsplot(x,b), axis([0 2*pi -20 20]), title('Figure 26.9d: sin(x)/cos(x)') 

⌨️ 快捷键说明

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