bitAnd

Syntax

bitAnd(X, Y) or X & Y

Arguments

X AND Y are vectors with the same size, or Y is a scalar.

Details

Return the result of the bitAnd operation.

Examples

$ x=1 0 1;
$ y=0 1 1;
$ x&y;
[0,0,1]