how to combine values into one cell in a matrix within a matrix
Show older comments
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)
Answers (1)
Muthu Annamalai
on 18 Jul 2013
If you are on MATLAB v13a or later you can try
size(s) %put your 11x2 cell here
cellJoinedAsString = strjoin(s)
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!