Compute the impulse response (h[n]) of the given systems for n = 0:1:40. (Using
ID: 2080482 • Letter: C
Question
Compute the impulse response (h[n]) of the given systems for n = 0:1:40. (Using filter command). Compute the output of the systems with using the impulse response. Compute the output of the systems without using the impulse response for the given inputs Plot the impulse response (h[n]), the given input sequence (x[n]), and outputs (using and filter functions) on a sheet paper for each problem. subplot and stem commands.(use subplot and stem commands.) y[n] = 1/3 y[n - 1] + x[n] x[n] = 2x(0.9)^n u(n - 20) Write signals for n = 0; 1: 40.Explanation / Answer
n=0:1:40;
Himp = filter(b, (-1/3), n);
x=(2*(0.9)^n).* heaviside(n-20);
y1 = conv(Himp, x);
Out3 = filter(x, (-1/3), n);
subplot(5,1,1);
stem(Himp);
subplot(5,1,2);
stem(x);
subplot(5,1,3)
stem(y1);
subplot(5,1,4);
plot(Out3);
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.