Calculating mean for each column

1 回表示 (過去 30 日間)
Tino
Tino 2019 年 4 月 24 日
回答済み: Torsten 2019 年 4 月 24 日
Hi Please how do I compute the mean of each column using R of varying length ( R.length)
Thanks in advance
R = [ 0.6164 3.4161 0.9950 3.4117;
3.1654 0.4123 4.2391 1.0198;
0.5745 3.0364 1.3191 3.1129;
2.9883 0.7348 3.8730 0.4123;
0.9381 3.3749 2.0421 3.5014;
2.1817 1.0630 3.0643 0.9487];
when I compute it manually it gives me ( for each column)
1.7441
2.0063
2.5888
2.0678

採用された回答

Torsten
Torsten 2019 年 4 月 24 日
mean ( R ) ?

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by