Is there any command to split the hexadecimal value automatically..
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
asmi
el 4 de Jun. de 2015
Comentada: asmi
el 4 de Jun. de 2015
ex-C29E01DF3F245CBE I want to split like a=C29E01DF b=3F245CBE...
0 comentarios
Respuesta aceptada
James Tursa
el 4 de Jun. de 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);
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!