Taking Numerical Values From Char Array
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Fangjun Jiang
2022 年 6 月 6 日
What is your actual "char array" data? Use a format that others can copy&paste and use directly in MATLAB.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!