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

clear all;
%close all;
clf

num=conv([1 10],[1 10]);
den=[1 0 0 0];
figure(1)
rlocus(num,den);
axis([-40 10 -25 25])
grid;
title('Fig. 6.41 (a) Root Locus');

figure(2)
w=logspace(-1,4,200);
[re,im]=nyquist(7*num,den,w);
plot(re,im,re,-im);
axis([-2 2 -2 2]);
axis('square')
title('Fig. 6.41 (b) Nyquist plot, K = 7');
xlabel('Real')
ylabel('Imaginary')
nicegrid;
%return
%w=logspace(-1,2,100);
%num=7*num;
%[m,p]=bode(num,den,w);
%loglog(w,m);
%grid;
%semilogx(w,p);
%grid;









Contact us