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_02.m
% Fig. 6.2   Feedback Control of Dynamic Systems, 6e 
%             Franklin, Powell, Emami
%

clear all;
%close all;
clf
num=[1 1];
den=[.1 1];
[mag,ph,w]=bode(num,den);
figure(1)
subplot(2,1,1),loglog(w,mag),
title('Fig. 6.2 (a) Magnitude'),ylabel('Magnitude')
bodegrid;
subplot(2,1,2),semilogx(w,ph),
title('(b) Phase'),ylabel('\phi (deg)'),xlabel('\omega (rad/sec)')
bodegrid;

Contact us