The length of the array of cells

조회 수: 1 (최근 30일)
Lev Mihailov
Lev Mihailov 2019년 6월 21일
답변: Lev Mihailov 2019년 6월 24일
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)
  댓글 수: 1
madhan ravi
madhan ravi 2019년 6월 21일
cellfun('size',yourcellarray,1) % 1 returns row number and 2 column

댓글을 달려면 로그인하십시오.


Lev Mihailov
Lev Mihailov 2019년 6월 24일
Thanks, the first version helped

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by