array of numbers to chars in separate cells
이전 댓글 표시
Hi, I would like to know how to get separate cells with chars from number array:
from
F=[1 20 30 100];
to
E={'1','20','30','100'};
채택된 답변
추가 답변 (2개)
Honglei Chen
2012년 4월 30일
E = mat2cell(F,1,ones(1,4)])
카테고리
도움말 센터 및 File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!