Search for question
Question

Problem 4. Let x[n] = 2(u[n] -u[n-5]) and h[n] = (n+1) (u[n] – u[n – 10]). For the system y[n] = x[n] *h[n]: a. Determine 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