Question: (a) Write a simple code (preferably in Python) that uses discrete convolution to find the response to the input r[n] of an LTI system
(a) Write a simple code (preferably in Python) that uses discrete convolution to find the response to the input r[n] of an LTI system with the impulse response h[n] (see figure below). Plot the response. Submit your code, print out and submit the response. -1 0 1 2 3 4 5 H (ej) = x[n] 111 0 1 2 3 4 5 6 7 8 9 10 12 14 16 h[n] (b) Plot the magnitude and phase of the frequency response of the LTI system given by 0.008 0.033e-jw +0.05e e-2jw 0.033e 1+2.37e-jw +2.7e-2jw+ 1.6e-3jw +0.41e-4jw -3jw +0.008e-4jw - n Hint: "numpy.convolve" and "scipy.signal.freqz" are Python functions useful for (a) and (b), respectively. Activate W
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
