Hi, I have an image matrix of 512 x 512 and I'm trying to plot the row-averaged magnitude spectrum of this image. The following code is my first attempt to solve this problem. Can anybody help me whether I'm correct or not? Any help would be appreciated.
load blur.mat for i=1:512 rows = blur(i,:) rowsFFT = fft(rows,512) end plot(abs(rowsFFT))
Best Answer