Fourier transform of input data with varying sampling frequency
10 次查看(过去 30 天)
显示 更早的评论
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.
回答(1 个)
Benjamin Thompson
2024-1-27
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!