chap9_2plot.m
来自「滑模变结构配套例程(刘金昆)清华大学出版社无商业用途」· M 代码 · 共 22 行
M
22 行
close all;
figure(1);
plot(t,r(:,1),'r',t,x(:,1),'b');
xlabel('time(s)');ylabel('Position tracking of x11');
figure(2);
plot(t,u(:,1),'r');
xlabel('time(s)');ylabel('control 1');
figure(3);
plot(t,r(:,2),'r',t,x(:,4),'b');
xlabel('time(s)');ylabel('Position tracking of x21');
figure(4);
plot(t,u(:,2),'r');
xlabel('time(s)');ylabel('control 2');
figure(5);
plot(t,r(:,3),'r',t,x(:,7),'b');
xlabel('time(s)');ylabel('Position tracking of x31');
figure(6);
plot(t,u(:,3),'r');
xlabel('time(s)');ylabel('control 3');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?