Printing cell arrays issue
Ältere Kommentare anzeigen
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 Kommentare
David Barry
am 15 Dez. 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
am 16 Dez. 2016
Nuno Palma
am 16 Dez. 2016
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!