📄 fig9_03.m
字号:
% Figure 9.03 Feedback Control of Dynamic Systems, 4e
% Franklin, Powell, Emami
%
% fig9_03.m is a script to generate Fig. 9.3
% the rootlocus of the uncompensated satellite
% position control, non-colocated case
clf;
% satellite system matrices
f =[0 1.0000 0 0;
-0.9100 -0.0360 0.9100 0.0360;
0 0 0 1.0000 ;
0.0910 0.0036 -0.0910 -0.0036];
g =[0;
0;
0;
1];
h =[1 0 0 0];
j =[0];
% convert to numerator-denominator form
[np,dp]=ss2tf(f,g,h,j,1);
% remove leading zeros in numerator
np=np(4:5);
hold off; clf
% rootlocus
rlocus(np,dp)
v=[-2 2 -1.5 1.5];axis(v);
grid;
title('Fig.9.3 Rootlocus for satellite')
%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -