Re: selected frequencies FFT?
- From: "Steven G. Johnson" <stevenj@xxxxxxxxxxxx>
- Date: Fri, 22 May 2009 07:50:54 -0700 (PDT)
On May 21, 12:30 pm, "Johnathan " <durchfalldurchf...@xxxxxxxxx>
wrote:
Is it possible to compute theFFTfor only selected frequencies, frequency ranges, or frequency spacings, or must you compute the entire thing with the minimum resolution from 0 to samplingfrequency/2 and then throw out what you don't need?
Computing a subset of the outputs of an FFT is called a "pruned" FFT.
In principle, if you only want K outputs out of N, the complexity is
reduced to O(N log K) from O(N log N). In practice, because the
savings are in the log, it is hard to get a signiicant performance
boost this way.
You can also get equally spaced points in a selected frequency range
via the chirp z-transform "FFT" algorithm (although in this case you
are not using it to compute a DFT). There is a significant constant-
factor penalty in this algorithm, although it is O(N log N), compared
to an ordinary FFT for a highly composite N, so it is unlikely to be
worthwhile unless you are seeking to finely interpolate some portion
of the spectrum.
Google will tell you more about both of these techniques.
Regards,
Steven G. Johnson
.
- Follow-Ups:
- Re: selected frequencies FFT?
- From: Johnathan
- Re: selected frequencies FFT?
- References:
- selected frequencies FFT?
- From: Johnathan
- selected frequencies FFT?
- Prev by Date: Re: Plot Help
- Next by Date: Re: extract variable from base workspace
- Previous by thread: Re: selected frequencies FFT?
- Next by thread: Re: selected frequencies FFT?
- Index(es):
Relevant Pages
|