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

📄 fig9_64.m

📁 包含了控制理论的各种仿真程序
💻 M
字号:
%  Figure 9.64      Feedback Control of Dynamic Systems, 4e
%                        Franklin, Powell, Emami
%
%  fig9_64.m  is a script to plot Fig. 9.64 the step response  
%  for the tape drive      
%  for the SRL design
clf;

f =[0    2.0000         0         0         0;
   -0.1000   -0.3500    0.1000    0.1000    0.7500;
         0         0         0    2.0000         0;
    0.4000    0.4000   -0.4000   -1.4000         0;
         0   -0.0300         0         0   -1.0000];

g = [0;
     0;
     0;
     0;
     1];
h2 =[0     0     1     0     0];
j = 0;
K=[.802 2.58 .489 .964 1.21];
a=f-g*K;
b=1.29*g;
c=h2;
d=j;

t=0:0.2:15;
y=step(a,b,c,d,1, t);
plot(t,y);
v=[0, 15, 0, 1.2];
axis(v);
grid;
xlabel('Time (msec)');
ylabel('Position x_2, (10^{-5}m)');
title('Fig. 9.64 Step response at x2 of SRL tape design')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -