# Homework Solution: Use the array method (discussed in class: this is similar to the graphical method of text example 10.2) to compute the convolution y[n] = x[n]*h[n], where… Use the array method (discussed in class: this is similar to the graphical method of text example 10.2) to compute the convolution y[n] = x[n]*h[n], where (a) x[n] = {-1, 3, 4, -2} and h [n] = {1, 2, -2, 3, -2}. (b) Text problem 10.12 (d). In each case, verify your answer using the Matlab "conv" function (see code snippet on page 503 of text or class example for MATLAB code: for the convolved sequence, pay careful attention to its time index). Use the decorate arrangement (discussed in systematize: this is correspondent to the graphical arrangement of passage copy 10.2) to scold the coil y[n] = x[n]*h[n], where (a) x[n] = {-1, 3, 4, -2} and h [n] = {1, 2, -2, 3, -2}. (b) Passage height 10.12 (d). In each contingency, establish your counterpart using the Matlab “conv” office (discern adjudication snippet on page 503 of passage or systematize copy restraint MATLAB adjudication: restraint the convolved succession, unswerving cautious care to its era condemnation).

## Expert Counterpart  MATLAB adjudication restraint coil is supposing underneath.

>> a = [-1 3 4 -2 ]

a =

-1 3 4 -2

>> b = [1 2 -2 3 -2]

b =

1 2 -2 3 -2

>> c= conv(a,b)

c =

-1 1 12 -3 -1 10 -14 4