how can i do 2d dft for image without using built-in function(fft2) and get matrix values for the separated magnitude and phase of an image after 2d dft?

3 vues (au cours des 30 derniers jours)
i need to do 2d dft for an image using normal formula and get matrix values for separated mag and phase.

Réponses (1)

Steve Eddins
Steve Eddins le 30 Oct 2013
F = fft2(f);
F_mag = abs(F);
F_phase = angle(F);

Community Treasure Hunt

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

Start Hunting!

Translated by