⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chap8_7plot.m

📁 机器人控制仿真程序一书的所有源代码
💻 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 + -