NANFFT calculates the Fourier-Transform of X for data with missing values. 
  NANFFT is the same as FFT but X can contain missing values encoded with NaN.
  NaN's are skipped, NaN do not result in a NaN output. 

   Y = NANFFT(X)
   Y = NANFFT(X,N)
   Y = NANFFT(X,[],DIM)
 
   [Y,N] = NANFFT(...)
       returns the number of valid samples N


 WARNING: missing values can introduce aliasing - causing unintended results.
    Moreover, the behavior of bandpass and highpass filters in case of missing values 
    is not fully understood, and might contain some pitfalls.  

 see also: FFT, XCORR, NANCONV, NANFILTER

Package: nan