convert integer to binary or binary to integer
Versione 1.0.0 (1,58 KB) da
Thomas
convert a column vetor of integers to a column vector of binaries or vice versa
example:
int2bin([2; 5; 15]) = [0 0 1 0;0 1 0 1;1 1 1 1]
or
bin2int([ 0 1 1; 2 2 2], 3) = [4; 26] (in a three digit system)
Cita come
Thomas (2026). convert integer to binary or binary to integer (https://it.mathworks.com/matlabcentral/fileexchange/85473-convert-integer-to-binary-or-binary-to-integer), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2020b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |
