Why would a textbook say ifft(fft()) is faster? That doens't make sense. If that was the case, Mathworks would have implemented conv a bit like this:
function out=conv(x,h)
out=ifft(fft(x).*fft(h));
end
The mere fact that they didn't should tell you the real conv function is faster than the one I put here.
4 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808451
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808451
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808468
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808468
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808469
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808469
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808517
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/370435-is-ifft-fft-x-fft-h-faster-or-conv-x-h#comment_808517
Sign in to comment.