Fourier transform of input data with varying sampling frequency
Mostra commenti meno recenti
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 Commenti
Dipika Berry
il 29 Gen 2024
Risposte (1)
Benjamin Thompson
il 27 Gen 2024
1 voto
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 Commenti
Dipika Berry
il 29 Gen 2024
Paul
il 29 Gen 2024
If going down this path, check out: Resampling Nonuniformly Spaced Signals
Categorie
Scopri di più su Fourier Analysis and Filtering in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!