how to display data from a cell?
Mostrar comentarios más antiguos
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 comentarios
KSSV
el 13 de Ag. de 2018
Have a look on celldisp.
Rik
el 13 de Ag. de 2018
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
el 13 de Ag. de 2018
Editada: asim nadeem
el 13 de Ag. de 2018
asim nadeem
el 13 de Ag. de 2018
Editada: asim nadeem
el 13 de Ag. de 2018
Respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!