the multiplica​tion/inter​section of boolean matrices

This is a question about the multiplication/intersection of boolean matrices.
For example, Consider A=[a11, a12; a21, a22] and B=[b11, b12; b21, b22].
Then if you run "A&B", you would see the result:

Answers (1)

Sure ...
  • A & B equals logical(A * B)
  • A | B equals logical(A+B)
Or am I missing something …

Asked:

on 10 Dec 2013

Answered:

on 10 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!