help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why isn't conv() optimized using fft() and ifft()?


From: George
Subject: Why isn't conv() optimized using fft() and ifft()?
Date: Sun, 14 Feb 2010 19:55:14 +0000

Why isn't Octave using fft and ifft to optimize convolution? Like so:

tic; conv(rand(1,1024),rand(1,1024)); toc;   tic; ifft(
fft(rand(1,1024),2048).*fft(rand(1,1024),2048) )(1:2047); toc;

Elapsed time is 0.03814 seconds.
Elapsed time is 0.008016 seconds.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]