how to display data from a cell?
이전 댓글 표시
I created a cell {{{1,2,3},{4}}, {{1,2},{3,4}}} it has two partitions in it or may be more. What i want in my output is that answer should be in the form {{1,2,3},{4}} i.e a partition which satisfy certain conditions. But my answer is like this ans =
[1x3 double] [4]
댓글 수: 5
KSSV
2018년 8월 13일
Have a look on celldisp.
Rik
2018년 8월 13일
Do you mean you want the command window to literally show {{1,2,3},{4}}?
Also, what code are you using, because for your example I get {1×3 cell} {1×1 cell} in my command window.
asim nadeem
2018년 8월 13일
편집: asim nadeem
2018년 8월 13일
asim nadeem
2018년 8월 13일
편집: asim nadeem
2018년 8월 13일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!