Question

\text { Problem 3. For a system described by } y[n]=x[n] * h[n], \text { let } x[n]=(3)^{-n} u[n] \text { and } h[n]=\left(\frac{4}{5}\right)^{n} u[n]: a. Compute y[n] analytically. Plot

y[n] in MATLAB for –5 <= n <= 15. b. Compute y[n] = x[n] * h[n] using the conv command in MATLAB. Plot y[n] in MATLAB for -5 <= n <= 15 and compare it to your results from part (a.). Note: See Homework 1 and graphical.convolution_examples.m on the class website for the validation examples we did in class.

Fig: 1

Fig: 2

Fig: 3

Fig: 4