Set or reset bit(s) n of unsigned integers in a. v = 0 resets and v = 1 sets the bits. The lowest significant bit is: n = 1 dec2bin (bitset (10, 1)) 1011 See also: bitand bitor bitxor bitget bitcmp bitshift bitmax
Set or reset bit(s) n of unsigned integers in a. v = 0 resets and v = 1 sets the bits. The lowest significant bit is: n = 1
dec2bin (bitset (10, 1)) 1011