Main Content

Convert scalar integer to binary logic vector and vice versa

**Library:**Mixed-Signal Blockset / Utilities

The Binary Vector Conversion block encodes, decodes, and manipulates binary coded vectors. You can convert a scalar input to a logical (Boolean) vector signal using binary magnitude or two's complement and vice versa. You can also resize and reverse the bit index arrangement of the binary logic vectors.