Average of first few elements of an array

14 visualizaciones (últimos 30 días)
Vikash Pandey
Vikash Pandey el 9 de Dic. de 2018
Comentada: madhan ravi el 9 de Dic. de 2018
I have a one dimensional array A of 2000 elements.
How do I calculate the mean of elements from 500th to 1200th?

Respuesta aceptada

madhan ravi
madhan ravi el 9 de Dic. de 2018
mean(A(500:1200))
  4 comentarios
Vikash Pandey
Vikash Pandey el 9 de Dic. de 2018
Editada: Vikash Pandey el 9 de Dic. de 2018
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 el 9 de Dic. de 2018
Glad to hear that!!. Best of luck!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by