How to group elements in arrays?
Ältere Kommentare anzeigen
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 Kommentare
Murali Krishna
am 28 Mai 2015
can you clarify what do u mean by "group the elements of the array in f1 three by three"
bio lim
am 28 Mai 2015
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!