Average row elements for three columns?

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 NaNs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by