how to combine values into one cell in a matrix within a matrix
Mostrar comentarios más antiguos
i have a variable called stored_percentiles which is a 1x361 matrix. Within that matrix is 361 columns is a 11x2 matrix. How do I combine the 11x2 matrix as one cell value?
for example
within 11x2 matrix desired output for all 361 columns 1 2 ===> (1,2) 3 4 ===> (3,4) 5 6 ===> (4,5)
1 comentario
andrew
el 18 de Jul. de 2013
Respuestas (1)
Muthu Annamalai
el 18 de Jul. de 2013
If you are on MATLAB v13a or later you can try
size(s) %put your 11x2 cell here
cellJoinedAsString = strjoin(s)
Categorías
Más información sobre Mathematics 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!