Printing cell arrays issue
Mostra commenti meno recenti
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 Commenti
David Barry
il 15 Dic 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
il 16 Dic 2016
Nuno Palma
il 16 Dic 2016
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!