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
-
Project Euler: Problem 2, Sum of even Fibonacci
2883 Solvers
-
Back to basics 21 - Matrix replicating
1809 Solvers
-
Getting the absolute index from a matrix
258 Solvers
-
How many trades represent all the profit?
618 Solvers
-
575 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).