[Z,X,Y] = INVERSEFOURIERTRANSFORM2(RC,IC,dFx,dFy) Gives the real 2D field Z(X,Y) from the components of the complex 2D Fourier transform, Cz(Fx,Fy) = RC(Fx,Fy) + i*IC(Fx,Fy) taken at dFx,dFy sampling frequency interval (optional), via IFFT2.
The Cz are symmetrical with the origin and the spatial 2D Fourier frequencies (Fx,Fy) must have the origin at the center. Fy must increase upwards contrary to the row index.
The user can see how to get the same result using IFFT twice, or via complex exponentials (slower). This is the goal of the program.
The program comes with the example at the screenshot.
See also my inversefouriertransform.m here at FEx.
Inspired by: InverseFourierTransform.m