Why do I have "inside" oscillations when I take the fft of my data

조회 수: 5 (최근 30일)
Hugo
Hugo 2025년 6월 24일
댓글: Mathieu NOE 2025년 6월 24일
Hi,
I have a data sample that I need to take into the frequency domain, unfortunately I get these oscillations in between the actual negatives and positive values of what I expect, on the left is the sampled signal and on the right the real and imaginary part of its fft.
imag(fftshift(fft(sample)))
real(fftshift(fft(sample)))
Yet what I expect should look like this,
Where did I go wrong about the fft?
Thank you.
  댓글 수: 4
Hugo
Hugo 2025년 6월 24일
Well , that was another issue linked to the fact that I plotted using the angular frequency instead of the frequency. Here is what I get now with all issues solved.
Mathieu NOE
Mathieu NOE 2025년 6월 24일
glad you found the solution
have a nice day !

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Pulsed Waveforms에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by