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
-
3038 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
Create a square matrix of multiples
498 Solvers
-
Remove the two elements next to NaN value
703 Solvers
-
Flag largest magnitude swings as they occur
690 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).