How to find the row and column of elements where the value of A is the same as B

1 view (last 30 days)
A and B are matrices. Is there a function I'm missing?

Accepted Answer

Alfonso Nieto-Castanon
Alfonso Nieto-Castanon on 15 Jul 2014
[i,j] = find(A==B);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!