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

📄 chap9_4plot.m

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

figure(1);
subplot(211);
plot(t,d(:,1),'r',t,dp(:,1),'b');
xlabel('time(s)');ylabel('dt1 and its observer');
subplot(212);
plot(t,d(:,2),'r',t,dp(:,2),'b');
xlabel('time(s)');ylabel('dt2 and its observer');

figure(2);
subplot(211);
plot(t,r(:,1),'r',t,x(:,1),'b');
xlabel('time(s)');ylabel('r1 and y1');
subplot(212);
plot(t,r(:,2),'r',t,x(:,3),'b');
xlabel('time(s)');ylabel('r2 and y2');

figure(3);
subplot(211);
plot(x(:,2),d(:,1),'r');
xlabel('speed 1');ylabel('d1');
subplot(212);
plot(x(:,4),d(:,2),'r');
xlabel('speed 2');ylabel('d2');

⌨️ 快捷键说明

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