No BSD License  

Highlights from
FourierTransform2.m

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 6.76 KB File ID: #13421
image thumbnail

FourierTransform2.m

by Carlos Adrian Vargas Aguilera

 

16 Dec 2006 (Updated 18 Dec 2006)

Fourier complex transform of a 2D real field.

| Watch this File

File Information
Description

[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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
FourierTransform.m

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
spectral analysis Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
fourier Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
spectrum Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
fft Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
fftshift Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
fft2 Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
ifft2 Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
ifft Carlos Adrian Vargas Aguilera 22 Oct 2008 08:53:00
fftshift ZHAO QIUJI 08 Dec 2008 05:29:42

Contact us at files@mathworks.com