Converting 9 digit number into a string
이전 댓글 표시
I have a (1675x 1) number matrix. Each numbers are 9 digit number. I want convert this no into string. When I am giving the num2str command it is giving me (1675 x 9) matrix, but I want to get a (1675 x 1) matrix. How can I do that?
댓글 수: 3
Joseph Cheng
2017년 4월 5일
why do you need it in a 1675x1 matrix? because that is not going to work with a string and matrix format as each digit is a index as a string. it can work as a cell array but i do not see any benefit for putting it in such a format.
Sadia
2017년 4월 6일
편집: Walter Roberson
2017년 4월 6일
MD SAROWER HOSSAIN
2021년 8월 17일
my roll : 191001520
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!