[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: interesting FFT benchmarking!
From: |
nwerneck |
Subject: |
Re: interesting FFT benchmarking! |
Date: |
Tue, 29 Jul 2003 14:28:31 -0300 |
User-agent: |
Mutt/1.3.28i |
It does have a set of specialized functions. There is a header file
called rfftw.h referring to them. Maybe we could create a rfft function
in octave that reads a real vector and returns only the positive
half-plane, like it's done on the library. I'll study how to do it...
:)
On Tue, Jul 29, 2003 at 11:47:03AM -0500, John W. Eaton wrote:
> On 29-Jul-2003, Geraint Paul Bevan <address@hidden> wrote:
>
> | I may be wrong, but I think you'll find that Octave converts real data
> | into complex data before performing a Fourier transform.
> |
> | If you look in liboctave/oct-fftw.h, you will notice that there is no
> | declaration for octave_fftw involving real matrices.
>
> Right, when using FFTW, Octave does all FFT calculations using
> complex. If it is possible to use FFTW to do compute an FFT without
> having to convert the argument to a complex vector first then maybe we
> should do that. But I don't know FFTW well enough to do it quickly,
> so someone else who does and who is interested will have to do the
> work and submit a patch.
--
Nicolau Werneck <address@hidden> 9F99 25AB E47E 8724 2F71
http://cefala.org/~nwerneck EA40 DC23 42CE 6B76 B07F
"The secret of genius is to carry the spirit of childhood into maturity"
-- Thomas Henry Huxley
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------