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).
Number of Circles in a Number
Permute diagonal and antidiagonal
Equal to their cube
Replace Nonzero Numbers with 1
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office