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
浙公网安备 33010602011771号