在Matlab里面很简单,比如 63这个数HighBits = bitget(63,5:8)LowBits = bitget(63,1:4)返回结果是HighBits =1 1 0 0LowBits =1 1 1 1