100k views
3 votes
Which is the right MATLAB code that computes the impulse response of this system. d’y(t) dºg(t) +8 dar(t) +7 dy(t) + 10y(t) = dt dt3 dt2 dt2 a=[1,8,7, 10]; b={0 0 0 1]; t=0:0.01:16; impulse(a,b,t);

1 Answer

5 votes

Final answer:

To compute the impulse response of the given system in MATLAB, use the impulse function with the correct code.

Step-by-step explanation:

To compute the impulse response of the given system using MATLAB, you can use the impulse function.

The correct MATLAB code to compute the impulse response is:

a = [1, 8, 7, 10];

b = [0, 0, 0, 1];

t = 0:0.01:16;

impulse(a, b, t);

This code defines the system coefficients, specifies the time range, and calls the impulse function to compute the impulse response of the system.

User BCDeWitt
by
8.2k points