Calculating mean for each column

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Get 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