Mean value of array
Mostrar comentarios más antiguos
I need to calculate the mean of [1 2 ; 9 10],[2 3 ; 10 11] [3 4 ; 11 12] ,[4 5 ; 12 13] ....and make 3*7 matrix of the mean values of A(=4*8 matrix).
Does anyone has idea how to make it?
A=[1 2 3 4 5 6 7 8 ;
9 10 11 12 13 14 15 16;
17 18 19 20 21 22 23 24;
25 26 27 28 29 30 31 32]
3 comentarios
Alex Mcaulley
el 12 de Abr. de 2019
The question is not clear. Can you show an example of input and the desired output?
Chihiro Omori
el 12 de Abr. de 2019
Guillaume
el 12 de Abr. de 2019
You've been given two methods to achieve that output.
Respuesta aceptada
Más respuestas (1)
KSSV
el 12 de Abr. de 2019
1 voto
1 comentario
Alex Mcaulley
el 12 de Abr. de 2019
+1
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!