Scilab Wavelet Toolbox Function
Last update : Feburary 2006

conv - convolution on the time domain

Calling Sequence

c=conv(a,b)

Parameters

Description

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.

Examples

-->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

  

See Also

None