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

fig6_22.m
% Fig. 6.22   Feedback Control of Dynamic Systems, 4e 
%             Franklin, Powell, Emami
%

clear all;
close all;

num=1;
den=[1 2 1];
w=logspace(-2,3,100);
[m,p]=bode(num,den,w);
figure(1)
loglog(w,m);
grid;
xlabel('\omega rad/sec');
ylabel('magnitude');
title('Fig. 6.22 Open loop Bode plot for G=1/(s+1)^2 (a) magnitude');
figure(2)
semilogx(w,p);
grid;
xlabel('\omega rad/sec');
ylabel('phase');
title('Fig. 6.22 (b) phase');

Contact us