Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how do you take the mean across columns but for singular row in a 960x31 array

1 visualización (últimos 30 días)
help!!
I have 960 rows in all the cells there are reaction times, then there are 31 columns, I cant remember how to do this
  1 comentario
Walter Roberson
Walter Roberson el 15 de Nov. de 2019
mean(YourArray(ColumnToSelect,:))
Or perhaps what you are looking for is
mean(YourArray, 2)
to give you 960 means of columns.

Respuestas (1)

Jyothis Gireesh
Jyothis Gireesh el 18 de Nov. de 2019
The following documentation link may help you to get a better understanding about how to perform averaging operation in MATLAB

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by