Matlab code for 2D inverse Fourier transforms

Click For Summary
SUMMARY

The discussion centers on the limitations of Matlab's built-in functions for 2D inverse Fourier transforms, specifically fft2 and ifft2. The author argues that these functions do not perform true Fourier transforms as they fail to evaluate a function at a single point k. The author has developed custom routines to compute the 2D inverse Fourier transform and expresses willingness to share this code if there is interest. Additionally, the author critiques Matlab's Hilbert transform functionality, preferring to calculate it independently.

PREREQUISITES
  • Understanding of Fourier transforms and their mathematical principles
  • Familiarity with Matlab programming and its syntax
  • Knowledge of the limitations of built-in functions in Matlab
  • Experience with custom algorithm development in Matlab
NEXT STEPS
  • Research the mathematical foundations of 2D Fourier transforms
  • Explore custom implementations of Fourier transforms in Matlab
  • Learn about the Hilbert transform and its applications
  • Investigate alternative libraries for Fourier analysis in Matlab
USEFUL FOR

Matlab users, signal processing engineers, and researchers needing precise control over Fourier transform computations and those seeking alternatives to built-in functions for advanced mathematical analysis.

hunt_mat
Homework Helper
Messages
1,816
Reaction score
33
I have written some routines that compute the 2D inverse Fourier transform, if anyone thinks that this may be useful at all then please let me know and I will gladly post the code.
 
Physics news on Phys.org
What's wrong with the built in functions fft2 and ifft2?
 
They're not Fourier transforms? Even with the single variable fft doesn't do a Fourier transforms, a single variable Fourier transform takes a function and gives a function evaluated at a single point k, but the function fft doesn't do this and from the description of the actual function you can't really figure out how to get the actual function evaluated at a point k (which is a single number NOT a vector.

Just because Matlab has certain inbuilt functionality doesn't mean to say that it's good. It also has a Hilbert transform, I always calculate that myself as well.
 

Similar threads

Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K