calculate the sum of cell's Columns?
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Guillaume
2015-2-5
If you mean you want the sum of the number of elements in each cell of cell array c:
sum(cellfun(@numel, c))
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!