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

fig8_16.m
% Fig. 8.16   Feedback Control of Dynamic Systems, 4e 
%             Franklin, Powell, Emami
%

clear all;
close all;

% z-plane locus

numGz=[1 1];
denGz=[1 -2 1];  

K1 = 0:.2:8;  % break-in point is at K = 8
K2 = 100;
K = [K1 K2];
r=rlocus(numGz,denGz,K);
plot(r,'-'),grid
axis('square')
axis([-4 2 -3 3])
hold on
plot(1,.01,'x')
plot(1,-.01,'x')
plot(-1,0,'o')
title('Fig. 8.16  z-plane locus for 1/s^2 plant')
xlabel('Re(s)')
ylabel('Im(s)')

% now put in unit circle

th=0:.1:2.1*pi;
xc=cos(th);
yc=sin(th);
plot(xc,yc,'r--')
hold off

Contact us