fft/ifft transform of 2d matrix
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hello! i'm little confuse.if i want to make a fft trnformation of a 2d matrix what should i do? fft(x, [], 2),fft(x, [],1),fft2(x) or what else?
0 commentaires
Réponse acceptée
Walter Roberson
le 24 Jan 2012
It depends on your purpose. fft(x,[],2) does one fft for each row of x; fft(x,[],1) does one fft for each column of x; fft2(x) does a 2 dimensional fft (which is an fft in one direction followed by an fft in the other direction)
2 commentaires
Plus de réponses (1)
Dr. Seis
le 24 Jan 2012
If you want an idea of what is going on behind the scenes of fft2, then you can check out my answer here:
I show what the discrete 2D Fourier transform looks like coded up, and then compare the results with Matlab's 2D Fast Fourier Transform.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!