convfft vs. fftfilt (1D convolution)
Show older comments
I'd like to use the fastest way for 1D convolution in Matlab. Under the discussions for convfft, it's said that fftfilt is faster than convfft, however i'm using the following equivalent commands (for large vectors), and i found fftconv to be faster. Any suggestions?
res1 = convfft(a,b);
res2 = fftfilt([a,zeros(length(b)-1,1)],[b,zeros(length(a)-1,1)]);
Accepted Answer
More Answers (0)
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!