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

fig7_37.m
%  Figure 7.37      Feedback Control of Dynamic Systems, 4e
%                        Franklin, Powell, Emami
%
% fig7_37.m   
clf;
f=[-10 1 0;-16 0 1;0 0 0];
g=[0 0 10]';
h=[1 0 0];
j=0;
[np,dp]=ss2tf(f,g,h,0);
np=[0 0 0 10];
num = [0 0 0 10];
nc=conv([1 .432],[1 2.1]);
r=[-2.94+8.32*i -2.94-8.32*i];
d1=poly(r);
dc=conv(d1,[1 -1.88]);
num=conv(np,nc);
den=conv(dp,dc);
rlocus(num,den)
axis([-9 3 -9 9]);
grid;
title('Fig.7.37 Root locus for DC Servo pole assignment design')

Contact us