MATLAB Answers

0

The length of the array of cells

Asked by Lev Mihailov on 21 Jun 2019 at 13:00
Latest activity Answered by Lev Mihailov on 24 Jun 2019 at 11:27
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 Comments

Sign in to comment.

Products

2 Answers

Answer by madhan ravi
on 21 Jun 2019 at 13:02

cellfun('prodofsize',yourcellarray)

  1 Comment

cellfun('size',yourcellarray,1) % 1 returns row number and 2 column

Sign in to comment.


Answer by Lev Mihailov on 24 Jun 2019 at 11:27

Thanks, the first version helped

  0 Comments

Sign in to comment.