Create the nXn matrix F such that y=F*x is the Fourier transform of x.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6815 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2900 Solvers
-
Selecting books on MATLAB for experts and beginners (blindfolded)
82 Solvers
-
Calculate the area of a triangle between three points
3528 Solvers
-
746 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
When using the 2D Fourier Transform, it's good practice to put the point 0,0 at the middle of the grid, and not at the corner (which will create artifacts). Therefore, a better grid than the one shown at the test suite would be meshgrid((1-N)/2:(N-1)/2,(1-N)/2:(N-1)/2) (for an odd N).