Mean value for each column in a MAtrix

188 ビュー (過去 30 日間)
Gabriel
Gabriel 2015 年 12 月 13 日
コメント済み: Gabriel 2016 年 2 月 14 日
Hi guys, I am having some trouble when I try to use the "mean"function in a matrix. I have a 3 column matrix (around 80 lines) and I'd like to know the mean value from each column separatelly. First I import the excel file but after that I am not sure how to do it.
Does anyone knows how to?
Thanks in Advance !

採用された回答

Image Analyst
Image Analyst 2015 年 12 月 13 日
Try this
columnMeans = mean(yourMatrix, 1);
  1 件のコメント
Gabriel
Gabriel 2016 年 2 月 14 日
Thank you !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by