chap8_5plot.m
来自「机器人控制仿真程序一书的所有源代码」· M 代码 · 共 19 行
M
19 行
close all;
figure(1);
plot(t,y(:,1),'r',t,y(:,2),'b');
xlabel('time(s)');ylabel('position tracking');
figure(2);
subplot(411);
plot(t,u(:,1),'r');
xlabel('time(s)');ylabel('tol');
subplot(412);
plot(t,u(:,2),'b');
xlabel('time(s)');ylabel('tol0');
subplot(413);
plot(t,u(:,3),'g');
xlabel('time(s)');ylabel('Yup');
subplot(414);
plot(t,u(:,4),'k');
xlabel('time(s)');ylabel('ur');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?