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 日

0 投票

mean(x(1:num)); %where num is the number you want to mean to.

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by