chap6_9plot.m
来自「机器人控制仿真程序一书的所有源代码」· M 代码 · 共 22 行
M
22 行
close all;
figure(1);
plot(t,v(:,1),'r',t,v(:,2),'b');
xlabel('time(s)');ylabel('velocity tracking');
figure(2);
plot(t,F(:,2),'r',t,F(:,1),'b');
xlabel('time(s)');ylabel('angle tracking');
figure(3);
plot(x(:,1),y(:,1),'b');
title('position tracking');
xlabel('x');ylabel('y');
figure(4);
plot(t,u(:,1),'r');
xlabel('time(s)');ylabel('Control input ur');
figure(5);
plot(t,u(:,2),'r');
xlabel('time(s)');ylabel('Control input ul');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?