Does conv() function use FFT inside ?

9 views (last 30 days)
jupiter
jupiter on 7 Nov 2016
Answered: Adam on 7 Nov 2016
I have a very basic question(As it may sound!). Does the conv() function uses FFT to perform convolution? For performing the convolution of a 3D array, if I use conv() or ifft(fft(a)*fft(b)), will it yield the same result?

Accepted Answer

Adam
Adam on 7 Nov 2016
conv does not use fft, or at least not when I last checked, as I wrote my own convolution function to use the fft in place of it.
If you get the padding and all that right then within computational error the results of conv should be equal to those of doing an ifft on the product of two ffts.

More Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!