Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
These programs were developed for fast conversions between binary and decimal integers (there are other programs by fellow Matlab-users, dealing with fractions). They can be useful when the binary numbers are in vector form instead of strings.
b2d takes a binary number in the form of an array and calculates the equivalent decimal one. Nothing fancy, but quite effective as a component of a program that needs to be efficient in terms of computational overhead.
d2b is the symmetrical program, taking a decimal number and providing the equivalent binary one, in the form of an array.
Usage: y = b2d(x), y = d2b(x)
Citar como
Zacharias Voulgaris (2026). Efficient convertors between binary and decimal numbers (https://es.mathworks.com/matlabcentral/fileexchange/26447-efficient-convertors-between-binary-and-decimal-numbers), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspiración para: Binary encoding method, Random combinatorics
Información general
- Versión 1.0.0.0 (1,48 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.0.0.0 |
