char to vector conversion. using matrix of chars (16x128)
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everyone, i have a matrix of (16x128). where my loop is traversing through each column one by one. Value from my first column are
128
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
I have to convert this column (of chars) into a vector.
댓글 수: 1
Mathieu NOE
2020년 12월 9일
hello
you can use str2num to convert char to numerical array and then you can do all the maths you want
참고 항목
카테고리
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!