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

fig3_33.m
%  Figure 3.33      Feedback Control of Dynamic Systems, 6e
%                        Franklin, Powell, Emami
%script to generate Fig. 3.33
%  Example 3.28     

clf;
u=-1;  % magnitude of impulsive elevator input (Deg)
num=30*[1 -6];
den=[1 4 13 0];
t=0:.02:5;
y=impulse(u*num,den,t);
zero=[0 0];
tzero=[0 5];
axis([0 5 -2 16]);
plot(t,y,'-',tzero,zero,'-');
title('Fig. 3.33  Impulse response of aircraft altitude');
xlabel('Time (sec)');
ylabel('Altitude (ft)');
% grid
nicegrid

Contact us