convert integer to binary or binary to integer

convert a column vetor of integers to a column vector of binaries or vice versa

Ahora está siguiendo esta publicación

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)

Citar como

Thomas (2026). convert integer to binary or binary to integer (https://es.mathworks.com/matlabcentral/fileexchange/85473-convert-integer-to-binary-or-binary-to-integer), MATLAB Central File Exchange. Recuperado .

Información general

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