7,9K download
Aggiornato
19 lug 2002
Nessuna licenza
Converts binary strings of any length to hexadecimal pairs. Adds leading zeros if there is not an even number of hex bits.
The zip file contains the 'isodd' function which is required, and the 'FormatHexStr' function to put spaces or convert to a cell array.
Example:
bin2hex('11101001')
ans =
E9
bin2hex('11011101111110111')
ans =
01BBF7
Cita come
Richard Medlock (2024). BIN2HEX (https://www.mathworks.com/matlabcentral/fileexchange/1975-bin2hex), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R12.1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |