Finding mean for multiple matrices

12 Ansichten (letzte 30 Tage)
HABILA
HABILA am 22 Okt. 2019
Kommentiert: HABILA am 22 Okt. 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by