フィルターのクリア

Find mod,median,total,average in Matrix

46 ビュー (過去 30 日間)
Amir Hamzah UTeM
Amir Hamzah UTeM 2011 年 3 月 30 日
hi, i have this matrix x=[80 90 70; 70 86 80; 90 80 82; 100 100 100] how to find mod,median,total and average for this matrix in row per row? thanks.

採用された回答

Matt Fig
Matt Fig 2011 年 3 月 30 日
x = [80 90 70; 70 86 80; 90 80 82; 100 100 100];
mode(x,2)
median(x,2)
sum(x,2)
mean(x,2)
Also, see the help for these functions.
help mean
help mode
help median
help sum
  1 件のコメント
Amir Hamzah UTeM
Amir Hamzah UTeM 2011 年 3 月 30 日
thanks matt..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics and Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by