Finding mean for multiple matrices

10 ビュー (過去 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 Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by