fft of vector row
6 views (last 30 days)
Show older comments
hi everyone , can u help me to implement this algorithm
0 Comments
Answers (1)
Star Strider
on 27 Feb 2020
The fft function can calculate the Fourier transform across any dimensions you choose. I do not understand the notation in that image, so this is something of a guess.
To calculate the Fourier transform of ‘x’ down the columns:
X1 = fft(x);
and across the rows:
X2 = fft(x,[],2);
Xc = mean(abs(X1));
Xr = mean(abs(X2),2);
That should do what you want.
MATLAB dimension conventions can be a bit confusing when first encountered.
0 Comments
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!