mena of each row in matrix

1 visualización (últimos 30 días)
fereshte
fereshte el 17 de Nov. de 2014
Comentada: fereshte el 17 de Nov. de 2014
hi i have a 250*21 matrix. i want to get mean of this matrix in each row( result is 250*1 matrix). please help me.

Respuesta aceptada

Adam
Adam el 17 de Nov. de 2014
myMatrix = rand(250,21);
m = mean( myMatrix, 2 );

Más respuestas (0)

Categorías

Más información sobre Biological and Health Sciences 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