%convolution
u = [0.2, 0.4, 0.6, 0.8, 1, 0.8, 0.6, 0.4, 0.2];n = 0:1:8;v = [2,0,0,0,0,1,0,0,0,0,-1,0,0,0,0];n2= 0:1:14;stem(n,u);hold on; stem(n2,v);hold ony = conv(u,v);plot(y,'k')
MATLAB: Hi. I have a problem with the convolution (in black) that I don’t know how to fix. The convolution is ok, but it should be transferred 5 units do the left (y+5). what could I do? Thanks!
convolutiondiscretesignals
Best Answer