Average of first few elements of an array

조회 수: 7 (최근 30일)
Vikash Pandey
Vikash Pandey 2018년 12월 9일
댓글: madhan ravi 2018년 12월 9일
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.
madhan ravi
madhan ravi 2018년 12월 9일
Glad to hear that!!. Best of luck!

댓글을 달려면 로그인하십시오.

추가 답변 (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