IFFT inverted domain zones

2 次查看(过去 30 天)
Andrea Muratori
Andrea Muratori 2021-5-17
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 个评论
Walter Roberson
Walter Roberson 2021-5-17
perhaps you need fftshift(),
Andrea Muratori
Andrea Muratori 2021-5-17
That's right the function I was looking for. Thanks!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by