Using find() to identify values in an array that are present in another array
Afficher commentaires plus anciens
I am trying to extract values in rows 2 and 3 from an array when the corresponding value in row 1 is equal to a certain value present in a list (another array). I am attempting to do this with find(), and am wondering if there is a way to incorporate ismember(), but I am no sure how to proceed. I have attached screenshot of my main array below. The values change from left to right over 7136 columns, but the increments are very fine. Thanks!
Réponse acceptée
Plus de réponses (1)
4 commentaires
Dr.Vini42
le 21 Fév 2017
Image Analyst
le 21 Fév 2017
You can leave it. I mean there are already over a hundred thousand other questions in there, so what's one more? Plus it might be useful to someone.
Dr.Vini42
le 21 Fév 2017
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!