Taking Numerical Values From Char Array
Ältere Kommentare anzeigen
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 Kommentar
Fangjun Jiang
am 6 Jun. 2022
What is your actual "char array" data? Use a format that others can copy&paste and use directly in MATLAB.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!