Problem 46731. Create nXn Fourier matrix
Create the nXn matrix F such that y=F*x is the Fourier transform of x.
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 12 Oct 2020
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).
Solution Comments
Show commentsProblem Recent Solvers12
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
1082 Solvers
-
Flip the main diagonal of a matrix
780 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
527 Solvers
-
66 Solvers
-
162 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!