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

Re: n-point FFT

Jean Marc Delvit <delvit@onecert.fr> writes:
> I wants to know how to do a n-point FFT with IDL
> the same of FFT(X,n) in matlab (if the length of X is less than n, X is
> padded with trailing zeros to length n)

... and if you read the documentation, you will find that the IDL
routine FFT will work on an array of any size.  It's very easy to
do any needed zero-padding yourself (ie, fft([x, fltarr(nzeros)]) ).


Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response