필터 지우기
필터 지우기

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 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