how to covert char array to num array?
이전 댓글 표시
how do i convert char array to num array?
arr = ['some'; 'thee'; 'time'; 'hour']
I need a way to convert into the ascii values of these char.
댓글 수: 2
arr = ['some'; 'thee'; 'time'; 'hour']
mat = double(arr)
Walter Roberson
2021년 2월 23일
The original version had 'the' instead of 'thee' so it could not be represented as a character array... which is why David answered with {}
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!