Printing cell arrays issue
Afficher commentaires plus anciens
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 commentaires
David Barry
le 15 Déc 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
le 16 Déc 2016
Nuno Palma
le 16 Déc 2016
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!