| MATLAB Functions | Help Desk |
bitcmp
Complement bits
C = bitcmp(A,n)
C = bitcmp(A,n)
returns the bit-wise complement of A as an n-bit floating-point integer (flint).
With eight-bit arithmetic, the ones' complement of 01100011 (99, decimal) is 10011100 (156, decimal).
C = bitcmp(99,8) C = 156
bitand Bit-wise AND
bitget Get bit
bitmax Maximum floating point integer
bitor Bit-wise OR
bitset Set bit
bitshift Bit-wise shift
bitxor Bit-wise XOR