Clear Filters
Clear Filters

IFFT inverted domain zones

1 view (last 30 days)
Andrea Muratori
Andrea Muratori on 17 May 2021
Commented: Andrea Muratori on 17 May 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 Comments
Walter Roberson
Walter Roberson on 17 May 2021
perhaps you need fftshift(),
Andrea Muratori
Andrea Muratori on 17 May 2021
That's right the function I was looking for. Thanks!

Sign in to comment.

Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!