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_25.m
% Fig. 5.25  Feedback Control of Dynamic Systems, 4e 
%             Franklin, Powell, Emami
% script for Figure 5.25, Lead design.
np=1;
dp=[1 1 0];
nc=[1 2];
dc=[1 10];
nol=conv(np,nc);
dol=conv(dp,dc);
rlocus(nol,dol)
axis([-19 1 -7.5 7.5])
title('Figure 5.25  Root locus for lead design')
hold on
r=roots([1 11 80 140]);
plot(r,'*')
z=0:.1:.9;
 wn=2:2:19;
 sgrid(z, wn)
 hold off

Contact us