Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
A and B are matrices. Is there a function I'm missing?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by