Azzera filtri
Azzera filtri

How fast fourier transform works on matrix like 3 x 3 matrix

5 visualizzazioni (ultimi 30 giorni)
Hello,
I am still learning about how fast fourier transform works on matrix 3 x 3 i want to see how the calculation to get the number at the final it same goes to inverse fourier transform, please help me the matrix example is
1 2 3
4 5 6
7 8 9

Risposte (1)

Walter Roberson
Walter Roberson il 24 Lug 2018
fft() on a 2D matrix is the same as
result = zeros(size(YourMatrix));
for column = 1 : size(YourMatrix,2)
result(:,column) = fft(YourMatrix(:,column));
end
That is, it just does a column-by-column fft.
fft2() on a 2D matrix is the same as
fft( fft(YourMatrix).' ).'
That is, it does an fft by columns, transposes that so the rows become columns, fft on those columns, and transpose back

Categorie

Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by