Effacer les filtres
Effacer les filtres

Finding mean for multiple matrices

13 vues (au cours des 30 derniers jours)
HABILA
HABILA le 22 Oct 2019
Commenté : HABILA le 22 Oct 2019
I have three different one dimentional matrices. How do I find the mean values of them.
For Example
A=[4,5,6];
B=[2,3,6];
C=[5,4,2];
I nead mean of (A,B,& C)
Please Help.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 22 Oct 2019
Modifié(e) : KALYAN ACHARJYA le 22 Oct 2019
Please do read here
result1=mean(A);
So on..
  5 commentaires
Andrei Bobrov
Andrei Bobrov le 22 Oct 2019
A=[4,5,6];
B=[2,3,6];
C=[5,4,2];
data=[A;B;C]
result=mean(data)
HABILA
HABILA le 22 Oct 2019
Thank You so much. This one worked.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Multidimensional Arrays 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!

Translated by