# 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).

## Expert Answer

Use the rank way (discussed in systematize: this is congruous to the graphical way of passage copy 10.2) to estimate the involution y[n] = x[n]*h[n], where (a) x[n] = {-1, 3, 4, -2} and h [n] = {1, 2, -2, 3, -2}. (b) Passage amount 10.12 (d). In each occurrence, realize your retort using the Matlab “conv” power (distinguish mode snippet on page 503 of passage or systematize copy coercion MATLAB mode: coercion the convolved following, reckless circumspect vigilance to its era refutation).

## Expert Retort

MATLAB mode coercion involution 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