covert 128 binary string into hex decimal

i have 128 bit binary string how to convert it into hex decimal string ?

 採用された回答

James Tursa
James Tursa 2020 年 12 月 17 日
編集済み: James Tursa 2020 年 12 月 17 日

3 投票

b = your binary digits vector
d = [8 4 2 1]*reshape(b,4,[]);
h = sprintf('%x',d);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

タグ

質問済み:

2020 年 12 月 17 日

コメント済み:

2020 年 12 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by