Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
A and B are matrices. Is there a function I'm missing?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by