Code covered by the BSD License  

Highlights from
Feedback Control of Dynamic Systems, 4th Ed., G. F. Franklin, J. D. Powell, A. Emami-Naeini

image thumbnail

Feedback Control of Dynamic Systems, 4th Ed., G. F. Franklin, J. D. Powell, A. Emami-Naeini

by

 

25 Apr 2003 (Updated )

.m and .mdl files for Feedback Control of Dynamic Systems

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')
%

Contact us