Calculating mean for each column
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!