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!