Taking Numerical Values From Char Array
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
tinkyminky93
le 6 Juin 2022
Commenté : Fangjun Jiang
le 6 Juin 2022
Hello,
I have a char array like
'123456'
'123123'
when I use str2num, it gives me squares, not numerical values.
'□□□□□□'
'□□□□□□'
Can you help me to get these values numerically? Thank you.
1 commentaire
Fangjun Jiang
le 6 Juin 2022
What is your actual "char array" data? Use a format that others can copy&paste and use directly in MATLAB.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!