I want to compare two matrices
A B C
A 1 1 0
B 0 1 -1
C 1 0 0
A B C
A 1 -1 0
B 0 -1 -1
C 1 0 1
So that output should be
A B C
A 0 -1 0
B 0 -1 0
C 0 0 1
Values for which matrix 1 == matrix 2 will be 0 and for which matrix1 != matrix2 the value of matrix2 will be assigned.