How to group elements in arrays?
Mostra commenti meno recenti
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 Commenti
Murali Krishna
il 28 Mag 2015
can you clarify what do u mean by "group the elements of the array in f1 three by three"
bio lim
il 28 Mag 2015
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Structures in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!