FourierTransform2.m
[RC,IC,Fx,Fy] = FOURIERTRANSFORM2(Z,dX,dY) Gives the components of the complex Fourier transform Cz(Fx,Fy) = RC(Fx,Fy) + i*IC(Fx,Fy) of a 2D real field Z(X,Y) taken at dX,dY sampling interval (optional), via FFT2 (fast).
The transform is symmetrical with respect to the origin because Z is real.
The spatial 2D Fourier frequencies Fx,Fy have the origin at the center. Fy (and Y) increase upwards contrary to the row index.
The user can see how to get the same result using FFT 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 fouriertransform.m here at FEx.
Citation pour cette source
Carlos Adrian Vargas Aguilera (2025). FourierTransform2.m (https://www.mathworks.com/matlabcentral/fileexchange/13421-fouriertransform2-m), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms >
Tags
Remerciements
Inspiré par : FourierTransform.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | BSD License |