Average row elements for three columns?

6 ビュー (過去 30 日間)
Kylie Davis
Kylie Davis 2016 年 4 月 3 日
回答済み: Azzi Abdelmalek 2016 年 4 月 3 日
I have three columns of data, each corresponding to one gait cycle normalized to 101 points. I would like to get the average of these three cycles at each data point so that I have one averaged gait cycle that is 101 points.

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 3 日
a=rand(10,3)
v=mean(a,2)

カテゴリ

Help Center および File ExchangeNaNs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by