covert 128 binary string into hex decimal
조회 수: 29 (최근 30일)
이전 댓글 표시
i have 128 bit binary string how to convert it into hex decimal string ?

댓글 수: 0
채택된 답변
James Tursa
2020년 12월 17일
편집: James Tursa
2020년 12월 17일
b = your binary digits vector
d = [8 4 2 1]*reshape(b,4,[]);
h = sprintf('%x',d);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!