📄 chap9_5plot.m
字号:
close all;
figure(1);
subplot(211);
plot(t,y(:,1),'r',t,y(:,2),'b');
xlabel('time(s)');ylabel('Position tracking');
subplot(212);
plot(t,y(:,1)-y(:,2),'r');
xlabel('time(s)');ylabel('Position tracking error');
figure(2);
plot(t,ut(:,1),'r');
xlabel('time(s)');ylabel('Control input');
figure(3);
plot(t,f(:,3),'r',t,f(:,4),'b');
xlabel('time(s)');ylabel('f and fp');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -