IFFT inverted domain zones

2 visualizzazioni (ultimi 30 giorni)
Andrea Muratori
Andrea Muratori il 17 Mag 2021
Commentato: Andrea Muratori il 17 Mag 2021
I'm trying to perform IFFT on data but it returns values "switched" in respect to the domain I'm using. As you can see in the image attached I'm trying to obtain something like the blue line but the IFFT returns me the red line (so the first half of the data should be the second half and vice versa). Is there an easy way to solve this issue?
I have the same problem with fft2 too.
  2 Commenti
Walter Roberson
Walter Roberson il 17 Mag 2021
perhaps you need fftshift(),
Andrea Muratori
Andrea Muratori il 17 Mag 2021
That's right the function I was looking for. Thanks!

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by