Borrar filtros
Borrar filtros

fft of vector row

6 visualizaciones (últimos 30 días)
Batoule khadi
Batoule khadi el 27 de Feb. de 2020
Respondida: Star Strider el 27 de Feb. de 2020
hi everyone , can u help me to implement this algorithm

Respuestas (1)

Star Strider
Star Strider el 27 de Feb. de 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);
then do the same thing to take the mean values of the magnitudes:
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.

Categorías

Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by