How can you get totals from separate cell arrays?

1 次查看(过去 30 天)
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 :)

采纳的回答

James Tursa
James Tursa 2015-9-23
Use cell2mat to convert them to doubles, then add them up.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by