mean across rows and columns

i have a code that produces 10 x 5 matrix, i want it to find the mean across the rows rather than down each column.
for a=(1:5);
% some code here
Major1=(MJ_V11);%(0:end); %10 x 5 matrix here
Major11 = mean(Major1);
end

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 4 de Oct. de 2013

Respondida:

el 4 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by