Converting cell array to num array for conversions
2 次查看(过去 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!