Assignment:
x(n)=(1,2,3,4,5,6,7,8,9,10)
h(n)=(1,1,-1,3,2)
Write a matlab program to computer y(n)=h(n)*h(n) (convolution) without using the matlab convolution function 'conv'. That is, write matlab code to computer the convolution sum (... using nested loops?). Then use conv(h,x) to check the work.
Plot h, x, and y using the plot function.