int2vec

Convert integer to vector.

Sie verfolgen jetzt diese Einreichung

Useful when you want to interpret integers as codewords.It also could be used to convert the output of the binary representation of an integer to vector.

Function call v=int2vec(s,l)
s is the integer to be converted.
l is the length of the integer in bits. For example v=int2vec(110,3)
returns v=[1 1 0].

Zitieren als

Jim Simos (2026). int2vec (https://de.mathworks.com/matlabcentral/fileexchange/8329-int2vec), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0