Need help in 2D fast fourier transform

1 visualización (últimos 30 días)
Yixin Shao
Yixin Shao el 8 de Feb. de 2019
I have a 2D array, one dimension for x and one dimension for t(with interval dx and dt), the data in the array indictaed the amplitude at that x and t. I used the fft2 to do the fourier transform as shown below:
Y = fft2(array);
Yshift = fftshift(Y);
f1 = figure;
imagesc(abs(log(Yshift)));
colorbar;
and get the figure as this:
resultft.png
how can I change the scale value on the axis into the value of the true frequency and wavevector? Since now it is just number of the points.
And BTW, is there any way that I can always get the best contrast?
Thanks a lot.

Respuestas (0)

Categorías

Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by