How can you get totals from separate cell arrays?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mrs_matlab_rookie_thanks
le 23 Sep 2015
Réponse apportée : James Tursa
le 23 Sep 2015
i have several cell arrays with 6 values in each. I need to sum the first cell from each array, and then sum the second cell from each array, etc...
example screenshot attached
i have no idea how to do this!
thanks :)
0 commentaires
Réponse acceptée
James Tursa
le 23 Sep 2015
Use cell2mat to convert them to doubles, then add them up.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!