Average of terms

1 vue (au cours des 30 derniers jours)
developer
developer le 7 Juil 2011
Hello, I want to know that if i have row matrix of 1x160 and i want to take average upto certain values of the matrix then how can i do that?

Réponse acceptée

Sean de Wolski
Sean de Wolski le 7 Juil 2011
mean(x(1:num)); %where num is the number you want to mean to.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by