mena of each row in matrix

3 次查看(过去 30 天)
fereshte
fereshte 2014-11-17
评论: fereshte 2014-11-17
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.

采纳的回答

Adam
Adam 2014-11-17
myMatrix = rand(250,21);
m = mean( myMatrix, 2 );

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Robotics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by