Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Exercise: 1. Compute the impulse response (h[n]) of the given systems for n=0:1

ID: 1715966 • Letter: E

Question

Exercise: 1. Compute the impulse response (h[n]) of the given systems for n=0:1 :40. (Using filter command). (Hint: ) 2. Compute the output of the systems with using the impulse response. t: yl-conv(x,h), h[n] obtained 3. Compute the output of the systems without using the impulse response for the given inputs (Hint: use filter function) 4. Plot the impulse response (hln]), the given input sequence (x[n]), and outputs (using conv and filter functions) on a sheet of a paper for each problem. (Use subplot and stem commands.)

Explanation / Answer

clc

n=0:1:40

x=[1,zeros(1,40)];

b=[1];

a=[1,-0.33];

h=filter(b,a,x);

X1=[zeros(1,20) 1.80*ones(1,21)];

y=conv(x1,h);

y1=filter(b,a,x1);

subplot(4,1,1), stem(n,h)

Subplot(4,1,2), stem(n,y)

subplot(4,1,3),stem(n,y1)

subplot(4,1,4),stem(n,x1)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote