Info
此问题已关闭。 请重新打开它进行编辑或回答。
i want to convet a mixture cell array to a cell array that just has string values.
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Image Analyst
2013-12-22
Use char() to convert string cells to strings. Use num2str() to convert the doubles to strings.
3 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!