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?

1 view (last 30 days)
i need to do 2d dft for an image using normal formula and get matrix values for separated mag and phase.

Answers (1)

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

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!