Average of terms

1 Ansicht (letzte 30 Tage)
developer
developer am 7 Jul. 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by