How to calculate absolute mean across numerical array

Hi all,
I have an array of 100x24 double. I want to calculate absolute mean so the output is 100x1 double. Can you help please?
mean_array = mean((abs(P_acc_y, 2)));
gives me
Error using abs
Too many input arguments.

 Respuesta aceptada

Más respuestas (1)

Categorías

Más información sobre Elementary Math en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Mzo. de 2022

Respondida:

el 7 de Mzo. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by