Is there any command to split the hexadecimal value automatically..
2 次查看(过去 30 天)
显示 更早的评论
ex-C29E01DF3F245CBE I want to split like a=C29E01DF b=3F245CBE...
0 个评论
采纳的回答
James Tursa
2015-6-4
I suspect your real problem is more complicated (like you have an array of these or a cell array of these), since splitting a single string is simple:
s = 'C29E01DF3F245CBE';
a = s(1:8);
b = s(9:16);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!