Converting 9 digit number into a string
Show older comments
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 Comments
Joseph Cheng
on 5 Apr 2017
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
on 6 Apr 2017
Edited: Walter Roberson
on 6 Apr 2017
MD SAROWER HOSSAIN
on 17 Aug 2021
my roll : 191001520
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!