How can you get totals from separate cell arrays?

1 回表示 (過去 30 日間)
mrs_matlab_rookie_thanks
mrs_matlab_rookie_thanks 2015 年 9 月 23 日
回答済み: James Tursa 2015 年 9 月 23 日
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 Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by