i need help to find impulse response of system h(t) at time t
7 views (last 30 days)
Show older comments
Task: For the case E = I, the impulse response of a system is defifined as h(t) = CeAtB + Dδ(t), t ≥ 0,
and represents the system output y(t) when the input u(t) = δ(t).
Use the command expm() to compute the matrix exponential and then plot the impulse response
for an equally spaced time grid t = linspace(0,500,500). (Hint: You only need to compute the
matrix exponential once.) Explain why the impulse response h(t) → 0 as t → ∞.
I have considered the matrix values as below:
A=[-3 -5 -1;1 0 0;0 1 0];
B=[1; 0; 0],
C=[0 0 1]
D=1;
E=eye(3);
0 Comments
Answers (1)
Sam Chak
on 2 Nov 2022
I used the impulse() method. but you can try using the expm() method. Look up the example and verify with the impulse response below.
A = [-3 -5 -1; 1 0 0; 0 1 0];
B = [1; 0; 0];
C = [0 0 1];
D = 1;
sys = ss(A, B, C, D)
impulse(sys)
tFinal = 500;
impulse(sys, tFinal)
help expm
0 Comments
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!