Average of terms

1 次查看(过去 30 天)
developer
developer 2011-7-7
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by