Question: A causal discrete-time system is described by the following difference equation: Use Matlab to write a script to complete the following tasks. Turn in the

A causal discrete-time system is described by the following difference equation: Use Matlab to write a script to complete the following tasks. Turn in the output created by the Matlab "publish" utility. (a) Compute and plot the impulse response h[n], 0n 50. Use the function h=imp2(b, a , N ) to find the impulse response, and use the stem ) function to create the plot. (b) Let x[n] be defined by (n - 15)2 0n K 30 x[n] elsewhere Compute and plot the output yn for0 n K 75 using the function y-filter (b,a, x); c) Repeat 2b, this time using the function y conv (h,x) (d) Use your script to verify that the two results are the same
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
