<< fft21 FOSSEE Signal Processing Toolbox fftfilt >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > fftconv

fftconv

Convolve two vectors using the FFT for computation.

Calling Sequence

Y = fftconv(X, Y)
Y = fftconv(X, Y, N)

Parameters

X, Y:

Vectors

Description

Convolve two vectors using the FFT for computation. 'c' = fftconv (X, Y)' returns a vector of length equal to 'length(X) + length (Y) - 1'. If X and Y are the coefficient vectors of two polynomials, the returned value is the coefficient vector of the product polynomial.

Examples

fftconv([1,2,3], [3,4,5])
ans =
3.    10.    22.    22.    15.

Report an issue
<< fft21 FOSSEE Signal Processing Toolbox fftfilt >>