开发者

Difference between conv and fftfilt in MATLAB

开发者 https://www.devze.com 2023-04-13 07:45 出处:网络
What is the difference between the \'conv\' and \'fftfilt\' functions in MATLAB? I read that conv is done in time-domain, while fftfilt first does FFT using the overlap-add method before doing the m

What is the difference between the 'conv' and 'fftfilt' functions in MATLAB?

I read that conv is done in time-domain, while fftfilt first does FFT using the overlap-add method before doing the multiplication in frequency-domain. However, I'm not sure how these different approaches will affect the results (as I thought that convolution in the time-doma开发者_运维百科in is the same as multiplication in the frequency domain), and when I should use one over the other?


The transformation from time-domain to frequency-domain has its own computational price. Although the result should be the same the timing can be different depending on input length. You can find the following post useful. For more in depth analysis you could read about FFT/Convolution in time and frequency domain.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号