FFT2 optimization

Version 1.0.0.0 (1,96 KB) von Luigi Rosa
Speed up FFT2.
4,2K Downloads
Aktualisiert 7. Mär 2005

Lizenz anzeigen

FFT2 optimization.

Many image processing applications require an extensive usage of FFT2 routine (or, in the most general case, a N-dimensional FFT) of matrices having the same dimensions. In these cases MATLAB FFT2 can result extremely inefficient. In general the execution time can be significantly reduced by splitting the N-dimensional FFT into several unidimensional FFT. A good trick is to apply the fft operator varying the minimum number of times the length of the unidimensional vectors which have to be FFT-transformed. You might be able to increase the speed of fft using the utility function fftw, which controls how MATLAB optimizes the algorithm used to compute an FFT of a particular size and dimension. In the following examples the planner is always 'hybrid'. The best vectorization strongly depends on the dimensions of input matrices. Chose the optimal solution comparing the execution times of the methods proposed.

Luigi ROSA
Via Centrale 35
67042 Civita Di Bagno
L'Aquila --- ITALY
mobile +39 3207214179
email luigi.rosa@tiscali.it
website http://utenti.lycos.it/matlab

Zitieren als

Luigi Rosa (2024). FFT2 optimization (https://www.mathworks.com/matlabcentral/fileexchange/7059-fft2-optimization), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14SP1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0