Documentation Center

  • Trial Software
  • Product Updates


Bitwise AND of two fi objects


c = bitand(a, b)


c = bitand(a, b) returns the bitwise AND of fi objects a and b.

The numerictype properties associated with a and b must be identical. If both inputs have a local fimath object, the fimath objects must be identical. If the numerictype is signed, then the bit representation of the stored integer is in two's complement representation.

a and b must have the same dimensions unless one is a scalar.

bitand only supports fi objects with fixed-point data types.

See Also

| | | |

Was this topic helpful?