Azzera filtri
Azzera filtri

How can you get totals from separate cell arrays?

1 visualizzazione (ultimi 30 giorni)
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 :)

Risposta accettata

James Tursa
James Tursa il 23 Set 2015
Use cell2mat to convert them to doubles, then add them up.

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by