Code covered by the BSD License  

Highlights from
Feedback Control of Dynamic Systems, 6th Edition, Prentice-Hall, 2010

image thumbnail

Feedback Control of Dynamic Systems, 6th Edition, Prentice-Hall, 2010

by

 

MATLAB and Simulink files for the book, Feedback Control of Dynamic Systems, 6th Edition, 2010

fig6_37.m
% Fig. 6.37   Feedback Control of Dynamic Systems, 6e 
%             Franklin, Powell, Emami
%

clear all;
%close all;
clf

pm=0*ones(1,91);
i=0;
for z=.1:.01:1;
pm1=atan(2*z/(sqrt( sqrt(1+4*z^(4))-2*z*z) ));
i=i+1;
pm(1,i)=pm1;
end;
zeta=.1:.01:1;
plot(pm*180/pi,zeta,100*zeta(1:71),zeta(1:71),'--');
xlabel('Phase margin (deg)');
ylabel('Damping ratio, \xi');
title('Fig.6.37 Damping ratio versus phase margin (PM)');
nicegrid;

Contact us