MATLAB: Check for array equality

arrayequalityremove

How can I check if indices of three arrays are equal and make those indices all zero if they are equal.

Best Answer

Not sure what the problem is. Why not just this?
ind = (A==B) && (A == C);
A(ind) = 0;
B(ind) = 0;
C(ind) = 0;
If this is not the answer, then you need to explain yourself FAR more clearly.
John