Fourier transform of input data with varying sampling frequency
조회 수: 8 (최근 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!