The length of the array of cells

2 次查看(过去 30 天)
Lev Mihailov
Lev Mihailov 2019-6-21
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

回答(2 个)

madhan ravi
madhan ravi 2019-6-21
cellfun('prodofsize',yourcellarray)

Lev Mihailov
Lev Mihailov 2019-6-24
Thanks, the first version helped

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by