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

1 Ansicht (letzte 30 Tage)
A and B are matrices. Is there a function I'm missing?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by