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

fig5_30b.m
% Fig. 5.30b  Feedback Control of Dynamic Systems, 4e 
%             Franklin, Powell, Emami
%script for Figure 5.30b
n=[1 5.4]; 
d=[1 1 0];
% the lead pole at -20 is omitted to allow greater
%  accuracy for very small values of s
nc=[1 .03];
dc=[1 .01];
nol=conv([ 0 n],nc);
dol=conv(d,dc);
 rlocus(nol,dol); 
 title('Fig.5.30b Root locus showing lag branch')
 axis([-.2 .2 -.15 .15])
 z=0:.1:.9;
 wn=2:2:19;
 sgrid(z, wn)
 hold off

Contact us