covert 128 binary string into hex decimal

 Akzeptierte Antwort

James Tursa
James Tursa am 17 Dez. 2020
Bearbeitet: James Tursa am 17 Dez. 2020

3 Stimmen

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

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by