covert 128 binary string into hex decimal

 Risposta accettata

James Tursa
James Tursa il 17 Dic 2020
Modificato: James Tursa il 17 Dic 2020
b = your binary digits vector
d = [8 4 2 1]*reshape(b,4,[]);
h = sprintf('%x',d);

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by