comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » FFTs in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FFTs in IDL [message #5808 is a reply to message #5760] Fri, 23 February 1996 00:00 Go to previous messageGo to previous message
Sergei Senin is currently offline  Sergei Senin
Messages: 23
Registered: February 1996
Junior Member
Achim Hein <hein@maxwell.nv.et-inf.uni-siegen.de> wrote:

>>> skipped<<<
> -It is very important to know that there is a little mistake in the
> WAVE-Algorithm not in the IDL-Algorithm, try to plot test=findgen(4097)
> and oplot,fft(fft(test,-1),1) you will see what I mean.

Sorry, a I'm a bit late for this discussion, but nevertheless:

wave> test=findgen(4097)
wave> print, max(test-fft(fft(test,-1),1))
wave> ( 29.4698, 0.247685)

and:

wave> test=findgen(4096)
wave> print, max(test-fft(fft(test,-1),1))
wave> ( 0.0163574, -0.000450487)

There seems to be no mistake, but simply no check in the procedure for the
number of elements in the array being 2^X.

> -In my opinion zero padding is definitly not a stupid thing to do.

No, but sometimes painfull :-) Could REBIN help in doing this for 2D arrays?


> Achim Hein
> Center of Sensor Systems
> Remote Sensing and optimal Signal Processing
> University of Siegen
>

--
Sergei Senin
University of Portsmouth
Department of Electrical and Electronic Engineering
Microwave, Telecommunications and Signal Processing Research Group
Anglesea Building, Anglesea Road,
Portsmouth,P01 3DJ,England.
ss@ee.port.ac.uk, http://www.ee.port.ac.uk:80/~ss-www/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: For IDL and vgrind users: sample vgrindefs
Next Topic: polar surface plots

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:35:30 PDT 2025

Total time taken to generate the page: 0.00454 seconds