Skip to content

bitand

general · scripts/general/bitand.m

: C = bitand (A, B)
: C = bitand (A, B, assumedtype)

Bit-wise AND of the integers in A and B.

When assumedtype is supplied, double inputs are interpreted as that integer class and the result is double; integer inputs may only pass their own class name.