필터 지우기
필터 지우기

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

조회 수: 5 (최근 30일)
syahdan edy murad
syahdan edy murad 2018년 7월 24일
답변: Walter Roberson 2018년 7월 24일
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

답변 (1개)

Walter Roberson
Walter Roberson 2018년 7월 24일
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

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by