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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Mathieu Chêne
Mathieu Chêne il 24 Apr 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 il 24 Apr 2023
Modificato: Stephen23 il 24 Apr 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by