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:

Réponses (1)

Jos (10584)
Jos (10584) le 10 Déc 2013

0 votes

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

Question posée :

le 10 Déc 2013

Community Treasure Hunt

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

Start Hunting!

Translated by