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

📄 chap8_6plot.m

📁 机器人控制仿真程序一书的所有源代码
💻 M
字号:
close all;

figure(1);
subplot(311);
plot(t,w(:,1),'r');
xlabel('time(s)');ylabel('w1');
subplot(312);
plot(t,w(:,2),'r');
xlabel('time(s)');ylabel('w2');
subplot(313);
plot(t,w(:,3),'r');
xlabel('time(s)');ylabel('w3');

figure(2);
subplot(411);
plot(t,q(:,1),'r');
xlabel('time(s)');ylabel('q1');
subplot(412);
plot(t,q(:,2),'r');
xlabel('time(s)');ylabel('q2');
subplot(413);
plot(t,q(:,3),'r');
xlabel('time(s)');ylabel('q3');
subplot(414);
plot(t,q(:,4),'r');
xlabel('time(s)');ylabel('q4');

figure(3);
subplot(311);
plot(t,M(:,1),'r');
xlabel('time(s)');ylabel('M1');
subplot(312);
plot(t,M(:,2),'r');
xlabel('time(s)');ylabel('M2');
subplot(313);
plot(t,M(:,3),'r');
xlabel('time(s)');ylabel('M3');

⌨️ 快捷键说明

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