Filter löschen
Filter löschen

mena of each row in matrix

1 Ansicht (letzte 30 Tage)
fereshte
fereshte am 17 Nov. 2014
Kommentiert: fereshte am 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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Robotics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by