Skip to content
Prev 308675 / 398503 Next

bitwise XOR of Matrix

Hello,

Your error message means that the arrays have different dim attributes. 
check with

dim(M1) == dim(M2)

They must be the same.
If they are, the result is not 0/1 but FALSE/TRUE, which you can treat 
as or coerce to integer.

Hope this helps,

Rui Barradas
Em 22-10-2012 16:44, shahab escreveu: