[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.
Carlos Adrian Vargas Aguilera (2022). InverseFourierTransform2.m (https://www.mathworks.com/matlabcentral/fileexchange/13422-inversefouriertransform2-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: InverseFourierTransform.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!