7,9K descargas
Actualizado
19 jul 2002
Sin licencia
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
Citar como
Richard Medlock (2024). BIN2HEX (https://www.mathworks.com/matlabcentral/fileexchange/1975-bin2hex), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R12.1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Characters and Strings en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |