Average row elements for three columns?

조회 수: 3 (최근 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 CenterFile Exchange에서 NaNs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by