Average row elements for three columns?

6 vues (au cours des 30 derniers jours)
Kylie Davis
Kylie Davis le 3 Avr 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.

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 3 Avr 2016
a=rand(10,3)
v=mean(a,2)

Catégories

En savoir plus sur NaNs dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by