i want to convet a mixture cell array to a cell array that just has string values.
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
i have a data set ,i convert it to cell array with this code :C = dataset2cell(ds)
but the values of this cell array are double and string. i want dataset values just be string! thanks!
Réponses (1)
Image Analyst
le 22 Déc 2013
0 votes
Use char() to convert string cells to strings. Use num2str() to convert the doubles to strings.
3 commentaires
fatemeh
le 22 Déc 2013
Image Analyst
le 22 Déc 2013
Give a small example of your cell, say 3 rows or so.
fatemeh
le 22 Déc 2013
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!