How can I plot phase and magnitude of Fourier transform of a 2D image in MATLAB?
I am using `angle` and `abs` and then use `imshow`, but I get a black image.  

what is the use of `fftshift` in this plotting?