finding in which row two array has equal values
Mostra commenti meno recenti
I have two array with different length A=(500.000,1) and B=(621,1) where all the 621 values of B are included in some of the A rows.
I want to find in which row of A, B will have the same value of A and create a new array C with the result(index)
any idea?
2 Commenti
madhan ravi
il 17 Apr 2019
Modificato: madhan ravi
il 17 Apr 2019
Illustrate with a short example. See if ismember() does what you want.
Bob Thompson
il 17 Apr 2019
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Operators and Elementary Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!