Question 11.15.5: Compute and plot in the time interval 0 ≤ t ≤ 3 s the impuls...

Compute and plot in the time interval 0 ≤ t ≤ 3 s the impulse response of a system with transfer function

H(s)= \frac{(s\ +\ 2)(s\ -\ 3)}{s^3\ +\ 9s^2\ +\ 26s\ +\ 24} .

Verify your result by computing the impulse response of the system with use of the inverse Laplace transform.

num=conv([1 2],[1 -3]);
den=[1 9 26 24];
t=0:.1:3;
h=impulse(num,den,t);
plot(t,h)
title('Impulse response')

syms s
H=(s+2)*(s-3)/(s^3+9*s^2+26*s+24);
h=ilaplace(H)
ezplot(h,[0 3])
ylim([-.4 1]);

Screenshot 2022-11-13 204906
Screenshot 2022-11-13 204954

Related Answered Questions