Converting cell array to num array for conversions
조회 수: 9 (최근 30일)
이전 댓글 표시
I have a table like so:
float float_1 string
that is a cell array (this table is larger but this is just for documentation purposes). . I want to convert this into a num array, so that I can convert each cell to decimal format based on its data type.
I'm not too sure where to start.
Thanks in advance.
댓글 수: 0
답변 (1개)
David Hill
2021년 12월 6일
Is your data is hexidecimal? You can convert it directly to decimal (use java BigInteger for large numbers)
import java.math.*
x=BigInteger('c3803512436677c4',16);
댓글 수: 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!