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!