Converting cell array to num array for conversions
13 ビュー (過去 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!