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

3 vues (au cours des 30 derniers jours)
asmi
asmi le 4 Juin 2015
Commenté : asmi le 4 Juin 2015
ex-C29E01DF3F245CBE I want to split like a=C29E01DF b=3F245CBE...

Réponse acceptée

James Tursa
James Tursa le 4 Juin 2015
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 commentaire
asmi
asmi le 4 Juin 2015
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..

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by