Average row elements for three columns?

6 visualizzazioni (ultimi 30 giorni)
Kylie Davis
Kylie Davis il 3 Apr 2016
Risposto: Azzi Abdelmalek il 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.

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 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