conv - convolution on the time domain
This function convolves two input vectors on the time domain rather by using FFT. Input could be row vectors or column vectors. And the output is row vectors. Matrix input is not allowed.
-->a=[1 2 3]'; -->b=[4 5]; -->c=conv(a,b) ans = 4 13 22 15 -->a=a'; -->b=b'; -->c=conv(a,b) ans = 4 13 22 15 -->a=[1 2 3;4 5 6]; -->b=[1 2]; -->c=conv(a,b) Please input vectors rather than matrixes! -->a=1; -->b=1; -->c=conv(a,b) ans = 1
None