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

4 visualizaciones (últimos 30 días)
Hugo
Hugo el 24 de Jun. de 2025
Comentada: Mathieu NOE el 24 de Jun. de 2025
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 comentarios
Hugo
Hugo el 24 de Jun. de 2025
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 el 24 de Jun. de 2025
glad you found the solution
have a nice day !

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by