I've tried to do Fourier transform in Matlab of vertical line. Basically, I make matrix A having size 100x100 and give the value 1s in certain number of coloumn vector, whereas the others is 0s. Here is the script. (You can see the plot result in the image bellow).
A = zeros(100,100); A(:,10)=1; A_FFT = abs(fft2(A)); figure, imshow(A,); title('vertical line (A)'); figure, imshow(A_FFT,); title('FFT of Vertical Line (A)');
From the result, I get horizontal line matrix A_FFT(u,v) which is A_FFT(1,:)=100 and the other matrix components are 0s. From the theory, yes, I can understand why the result is like that. But, I need to prove it mathematically. I have tried to write and solve the DFT equation of matrix A, but still don't get the right result. Can anyone help me how to prove this mathematically ?
Thank you very much....
-Click this link to see the image-
left : original vertical line, matrix A; right : DFT of A, by taking fft2