Converting 9 digit number into a string
Afficher commentaires plus anciens
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 commentaires
Joseph Cheng
le 5 Avr 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
le 6 Avr 2017
Modifié(e) : Walter Roberson
le 6 Avr 2017
MD SAROWER HOSSAIN
le 17 Août 2021
my roll : 191001520
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Type Conversion dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!