Average row elements for three columns?
Show older comments
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.
Answers (1)
Azzi Abdelmalek
on 3 Apr 2016
a=rand(10,3)
v=mean(a,2)
Categories
Find more on NaNs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!