How can i check if an array cell contain only zero element ?
이전 댓글 표시
How can i check if an array cell just contain zero elements ? is there any defined matlab function ?
댓글 수: 1
Azzi Abdelmalek
2012년 9월 12일
편집: Azzi Abdelmalek
2012년 9월 12일
the size of your cell aray?
답변 (1개)
Azzi Abdelmalek
2012년 9월 12일
편집: Azzi Abdelmalek
2012년 9월 12일
B=cell2mat(A)
all(B(:)==0)
카테고리
도움말 센터 및 File Exchange에서 Data Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!