Fourier transform of input data with varying sampling frequency

3 visualizaciones (últimos 30 días)
Dipika Berry
Dipika Berry el 27 de En. de 2024
Comentada: Paul el 29 de En. de 2024
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.

Respuestas (1)

Benjamin Thompson
Benjamin Thompson el 27 de En. de 2024
FFT only works with constant sample time by definition. Try using the interp1 function to resample the data set into a fixed sample time.

Community Treasure Hunt

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

Start Hunting!

Translated by