MATLAB: Binary Bit Masking

binaryMATLAB

What is the easiest way to bit mask a 16 bit binary value to decode different fields (2 bit, 4 bit, etc) with it? Thanks

Best Answer

bitand(), bitor(),