Taking Numerical Values From Char Array
1 次查看(过去 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 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!