Non uniform sample in frequency analysis! non uniform dft?

10 views (last 30 days)
Hallo! I am working in project that I have to make a frequency analysis on a time series. However my sample is not uniformly sampled so the Fast Fourier Transformation(FFT) is not appropriate for my analysis. After a search I found that for my case( no uniform sample) there is the Non Uniform Discrete Fourier Transformation (nuDFT). Does anyone know where can I find such a code or can suggest me any other way to make it?

Accepted Answer

Star Strider
Star Strider on 11 Apr 2017
If you have the Signal Processing Toolbox, one approach (that I would use) is to use the resample function.
It can convert non-uniformly-sampled data to uniformly-sampled data, and also uses an anti-aliasing filter. It is the preferred function for resampling signals for subsequent signal processing.
  4 Comments
Vilnis Liepins
Vilnis Liepins on 12 Apr 2017
One more option is to use simple matlab function nedft.m available on fileexchange http://se.mathworks.com/matlabcentral/fileexchange/11020-extended-dft . It allows you to calculate the DFT directly from non-uniformly-sampled data without using of resample function which may introduce interpolating errors.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!