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 Solvers14
Suggested Problems
-
Sum of first n terms of a harmonic progression
517 Solvers
-
Return the first and last characters of a character array
12227 Solvers
-
475 Solvers
-
Permute diagonal and antidiagonal
511 Solvers
-
167 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).