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_11.m
% Fig. 6.11   Feedback Control of Dynamic Systems, 4e 
%             Franklin, Powell, Emami
%

clear all;
close all;

num=0.01*[1 0.01 1];
den=conv([1 0 0],[.25 0.01 1]);
w=logspace(-2,2,1000);
[m,p]=bode(num,den,w);

subplot(2,1,1)
loglog(w,m);
axis([.01 10 .0001 100])
grid;
%xlabel('\omega (rad/sec)');
ylabel('magnitude');
title('Fig. 6.11 Bode plot for a TF w/ complex p & z. (a) magnitude');

subplot(2,1,2)
semilogx(w,p);
grid;
xlabel('\omega (rad/sec)');
ylabel('phase');
title('Fig. 6.11 (b)');

Contact us