bitget (Matlab function) — Gets the bit of an integer whose the positon is given in the input argument
bitget