Is there any command to split the hexadecimal value automatically..

 Accepted Answer

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);

1 Comment

This solution is right but only for one string..I have a text file it gives no.of hexadecimal values then how to split it first 8 and rest..

Sign in to comment.

More Answers (0)

Categories

Asked:

on 4 Jun 2015

Commented:

on 4 Jun 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!