Average of first few elements of an array

15 次查看(过去 30 天)
I have a one dimensional array A of 2000 elements.
How do I calculate the mean of elements from 500th to 1200th?

采纳的回答

madhan ravi
madhan ravi 2018-12-9
mean(A(500:1200))
  4 个评论
Vikash Pandey
Vikash Pandey 2018-12-9
编辑:Vikash Pandey 2018-12-9
I am submitting a research paper today. And for the numerical solution of the problem studied in the paper, I had a couple of minor technical issues for the coding part which I got it resolved from some contributors including you.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by