centered Fourier transforms

1d, 2d and 3d centered Fourier transforms


Updated 10 Jun 2017

View License

Fast Fourier transforms ofter require use of "fftshift" command.
Here are routines for 1d, 2d and 3d centered Fourier and inverse Fourier transforms which do not require "fftshift" command. These Fourier transforms are for signals whose center is at the origin of coordinate system, as for example a wavefront distribution with its center on the optical axis.
The algorithms for these Fourier transforms are described in
Tatiana Latychevskaia and Hans-Werner Fink
"Practical algorithms for simulation and reconstruction of digital in-line holograms",
Appl. Optics 54, 2424 - 2434 (2015)

Cite As

Tatiana Latychevskaia (2023). centered Fourier transforms (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

shifts by 1 pixel in 1d and 3d FTs are corrected

shifts by 1 pixels are corrected in 1d and 3d FT

corrected 3d FT

3d added