Printing cell arrays issue
Mostrar comentarios más antiguos
So, I have two cell arrays. For illustration purpose, let's call them A and B. Cell A and B are both 1x6 cells, let's say that the first elements of A are 1 and 2 and the first element of B is 7. I want to print them so that the value of B stays in the middle of the elements of A, i.e, -> 1 [7] 2. Problem is, when I try to print it, it prints all of the values inside of the cell A and only then the value of B, like 1 [2] 7.
Any ideas?
3 comentarios
David Barry
el 15 de Dic. de 2016
Are there always two elements in each cell of A and one in each cell of B? If not, what should happen?
Nuno Palma
el 16 de Dic. de 2016
Nuno Palma
el 16 de Dic. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing 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!