Question

Problem 5. Let a[n] = a"u[n] and h[n] = 3"u[n]. For the system y[n] = r[n] * h[n]: a. Determine y[n] analytically. Plot y[n] in MATLAB for a = 0.9,

3 = 0.1, and -5 <= n <= 15. b. Compute y[n] = x[n] * h[n] using the conv command in MATLAB for a = 0.9 and ß = 0.1. 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