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?
Mostrar comentarios más antiguos
i need to do 2d dft for an image using normal formula and get matrix values for separated mag and phase.
Respuestas (1)
Steve Eddins
el 30 de Oct. de 2013
F = fft2(f);
F_mag = abs(F);
F_phase = angle(F);
Categorías
Más información sobre Discrete Fourier and Cosine Transforms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!