Fourier transform of input data with varying sampling frequency

Hello, Could someone guide me with the code to plot the FFT of the attached data, since the sampling frequency of input data I have here is varying.
Thanks a lot.

2 comentarios

Check out: nufft
@Paul okay thanks i will take a look at this function

Iniciar sesión para comentar.

Respuestas (1)

FFT only works with constant sample time by definition. Try using the interp1 function to resample the data set into a fixed sample time.

2 comentarios

ok Benjamin thanks I will try to run this
If going down this path, check out: Resampling Nonuniformly Spaced Signals

Iniciar sesión para comentar.

Categorías

Más información sobre Fourier Analysis and Filtering en Centro de ayuda y File Exchange.

Preguntada:

el 27 de En. de 2024

Comentada:

el 29 de En. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by