?? chap8_7plot.m
字號:
close all;
figure(1);
subplot(611);
plot(t,y(:,1),'r');
subplot(612);
plot(t,y(:,2),'r');
subplot(613);
plot(t,y(:,3),'r');
subplot(614);
plot(t,y(:,4),'r');
subplot(615);
plot(t,y(:,5),'r');
subplot(616);
plot(t,y(:,6),'r');
xlabel('time(s)');ylabel('y6');
figure(2);
plot(t,u(:,1),'r');
xlabel('time(s)');ylabel('Control input');
figure(3);
zp=y(:,7);
wp=y(:,8);
gama1=sqrt(zp./(wp+0.001));
gama=120;
plot(t,gama,'r',t,gama1,'b');
xlabel('time(s)');ylabel('gama and robust performance');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -