Borrar filtros
Borrar filtros

Better interpolation of nonuniform data to uniform grid than with spline

3 visualizaciones (últimos 30 días)
T
T el 20 de Sept. de 2017
Comentada: Vilnis Liepins el 22 de Oct. de 2017
I am resampling non-uniformly sampled data to a uniform grid with a spline interpolation. However, if the signal is of high frequency (no aliasing), the spline interpolation does not perform well. Any ideas how to achieve a better resampling? Thanks!
  2 comentarios
Vilnis Liepins
Vilnis Liepins el 22 de Oct. de 2017
One more option is to use Extended DFT code available on fileexchange http://se.mathworks.com/matlabcentral/fileexchange/11020-extended-dft
You should run the program NEDFT.m for non-uniformly sampled data and get the DFT on uniform frequency set which corresponds to Matlab FFT set [-ceil((NFFT-1)/2):floor((NFFT-1)/2)]/NFFT where NFFT is the length of the DFT. As there is no aliasing you can select NFFT equal to the length of data segment, means, just one NEDFT iteration will be performed to calculate the DFT from non-uniform data.
To get resampled data apply the Matlab IFFT to the output of NEDFT.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by