The length of the array of cells
2 次查看(过去 30 天)
显示 更早的评论
Hello! I have an array of cells from the matrix, the number of rows in each cell is different, and I need to get this very length, please help
0 个评论
回答(2 个)
madhan ravi
2019-6-21
cellfun('prodofsize',yourcellarray)
1 个评论
madhan ravi
2019-6-21
cellfun('size',yourcellarray,1) % 1 returns row number and 2 column
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!