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

clear all;
close all;

num=0.01*[20 1];
den=[1 0 0];
dencl=den+[0 num];
t=0:1:100;
y=step(num,dencl,t);
plot(t,y);
xlabel('Time (sec)');
ylabel('y');
grid;
title('Fig. 6.49 Step response for PD compensator');

Contact us