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_68.m
%  Figure 6.68      Feedback Control of Dynamic Systems, 6e
%                   Franklin, Powell, Emami
% 

clear all
%close all;
clf

k=10;
num=k;
den=[1 1 0];
num=conv(num,[10 1]);
den=conv(den,[100 1]);
numcl=[1 0.1];
dencl=[1 1.01 1.01 0.1];
t=0:.2:50;
y=step(numcl,dencl,t);
%subplot(2,1,1)
plot(t,y);
xlabel('Time (sec)');
ylabel('y');
title('Fig. 6.68 Step response of lag-compensation design.');
nicegrid;

Contact us