FFT in 3D matrix

12 Ansichten (letzte 30 Tage)
Rica
Rica am 12 Sep. 2014
Hi all,
is there any pssibility wothout for loop to do the FFt of this:
F_domain = FFT (t_domain). t_domain is a matrix of 3D (800*10*200). the time axis is the First dimension (800). the second dimension is repetition of the Measurement. the Third dimens is the number of measurements.
Thank you all

Akzeptierte Antwort

David Young
David Young am 12 Sep. 2014
I'm not quite sure what the second and third dimensions are, but assuming you want each column transformed on the time dimension, you would do this:
F_domain = fft(t_domain, [], 1);
  2 Kommentare
Pascal Weller
Pascal Weller am 12 Nov. 2020
Hello,
I am currently facing the same question but did not fully get the answer. So I just wanted to get things clarified again.
I got a 3D (x,y,z) matrix. The first dimension (x) holds the samples per measurement, the second dimension (y) consecutive measurements and the third dimension (z) represents the number of channels that capture the individual measurements simultaneously. For every layer (xy-plane) I want to perform a FFT of size N on the columns. What would the right syntax be? Simply:
resultFFT = fft(3Dmatrix,N,1);
Thank you everyone for your input.
Pascal Weller
Pascal Weller am 18 Nov. 2020
Update: The syntax above is correct. It computes the FFT of size N on the columns for each layer individually.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

deboleena sadhukhan
deboleena sadhukhan am 13 Mär. 2023
Can you just try using fftn which will perform fft in all directions of the 3d matrix

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by