% ERROR TRANSIENT RESPONSE FOR
% alpha = 0, zeta = 0.5, Wn = 1 
%  Step, Ramp, or Parabolic inputs
%  Choose response type by changing "den" below

clg;
num = [1 1 0];
denstep = [1 1 1];
denramp = [1 1 1 0];
denparab = [1 1 1 0 0];
t = linspace(0,10,100);
den = denstep;      %Set den to denstep, denramp, or denparab
step(num,den,t);
grid;
