Finding mean for multiple matrices

조회 수: 13 (최근 30일)
HABILA
HABILA 2019년 10월 22일
댓글: HABILA 2019년 10월 22일
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.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 10월 22일
편집: KALYAN ACHARJYA 2019년 10월 22일
Please do read here
result1=mean(A);
So on..
  댓글 수: 5
Andrei Bobrov
Andrei Bobrov 2019년 10월 22일
A=[4,5,6];
B=[2,3,6];
C=[5,4,2];
data=[A;B;C]
result=mean(data)
HABILA
HABILA 2019년 10월 22일
Thank You so much. This one worked.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by