Average row elements for three columns?

6 Ansichten (letzte 30 Tage)
Kylie Davis
Kylie Davis am 3 Apr. 2016
Beantwortet: Azzi Abdelmalek am 3 Apr. 2016
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.

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 3 Apr. 2016
a=rand(10,3)
v=mean(a,2)

Community Treasure Hunt

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

Start Hunting!

Translated by