Bit-Wise Functions

 

The following functions perform bit-wise logical operations on nonnegative integer inputs. Inputs may be scalar or in arrays. If in arrays, these functions produce a like-sized output array.

The examples shown in the following table use scalar inputs A and B, where

A = 28; % binary 11100

B = 21; % binary 10101

 

bit

posted on 2010-11-23 21:01  尛尛蟲  阅读(208)  评论(0)    收藏  举报