2D FFT of a 4D matrix
13 views (last 30 days)
Show older comments
Hi,
I have a 4D matrix M(x,px,y,py); I need to perform 2D FFT along the (x,y) coordinates and a 2DIFFT along the (px,py) coordinates. Is it possible to use only FFT ( and IFFT) function which can deal with separated dimensions ? Or maybe FFT2 (and IFFT2) although this function cannot work along specific dimensions ? Thank you for any help.
0 Comments
Answers (1)
Bjorn Gustavsson
on 20 Jan 2022
Shouldn't this effectively be the same as running an FFT on the entire 4D-array (with some confusion about normalization-factors)?
8 Comments
Bjorn Gustavsson
on 24 Jan 2022
Great that it solved your problem.
The order should by definition not matter since the transform separates over orthogonal dimensions...
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!