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

📄 plot511.m

📁 matlab7.0从入门到精通(光盘内容)
💻 M
字号:
function plot511
figure(1)
t=1:0.1:10;
y=sin(t);
plot(y)

figure(2)
y= [0 1 2;2 3 4;5 6 7]
plot(y)

figure(3)
x=[1:1:100];
y=[2:2:200];
z=x+y.*i;
plot(z)

figure(4)
x=0:0.1:10;
y=sin(x)+2;
plot(x,y)

figure(5)
x=0:0.1:10;
y=[sin(x)+2;cos(x)+1];
plot(x,y)

figure(6)
x=[1 2 3;4 5 6;7 8 9;2 3 4;5 6 7];
y=[2 4 5;3 6 7;4 6 8;1 3 5;2 6 3];
plot(x,y)

figure(7)
x=0:0.5:20;
y=sin(x);
plot(x,y,'-.rd')



⌨️ 快捷键说明

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