mena of each row in matrix

1 vue (au cours des 30 derniers jours)
fereshte
fereshte le 17 Nov 2014
Commenté : fereshte le 17 Nov 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.

Réponse acceptée

Adam
Adam le 17 Nov 2014
myMatrix = rand(250,21);
m = mean( myMatrix, 2 );
  1 commentaire
fereshte
fereshte le 17 Nov 2014
thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Robotics dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by