Find common rows in 2 different arrays (faster than ismember)

1 vue (au cours des 30 derniers jours)
Mathieu Chêne
Mathieu Chêne le 24 Avr 2023
Modifié(e) : Stephen23 le 24 Avr 2023
Hello everyone,
I am currently looking for a function that would return the index of identical row in 2 different array. I tried with
listIdx=ismember(conversion,x,"rows");
out=find(listIdx);
However it need a lot of time to get the result: ~0.7s 0.8s for 1 element when I can have more than 600 rows to compare.
I also trye ismembc function but it compare all the single elements of both array
Is there a faster way to that ?
Thank you in advance for your help
Mathieu
  6 commentaires
Mathieu Chêne
Mathieu Chêne le 24 Avr 2023
Ok I did not know that.
However when I try to load the .dll file like this :
loadlibrary('IsMemberRows.dll')
I have the following error
Unrecognized function or variable 'IsMemberRows_proto'.
Maybe I am doing something wrong because I have all the downloaded files in the same folder
Stephen23
Stephen23 le 24 Avr 2023
Modifié(e) : Stephen23 le 24 Avr 2023
"Maybe I am doing something wrong because I have all the downloaded files in the same folder"
No, I don't think you are doing anything wrong: the chance that a DLL created 23 years ago will run on your computer is slim. Unless someone knows how to make it work, we should consider that FEX submission as abandoned.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by