How to group elements in arrays?
Mostrar comentarios más antiguos
Let's say I have a 1 x 5 structure array, 'data' with fields 'f1' 'f2' 'f3' 'f4' 'f5'. What I am trying to do is to group the elements of the array in f1 three by three, and find the corresponding mean of the elements in f2 - f5. Can anyone help me to do this? Thanks!
2 comentarios
Murali Krishna
el 28 de Mayo de 2015
can you clarify what do u mean by "group the elements of the array in f1 three by three"
bio lim
el 28 de Mayo de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!