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에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!