faster method for setdiff
Mostrar comentarios más antiguos
I am using setdiff function for deleting same rows.
C = setdiff(A,B,'rows')
It takes about 84.9% of time for my entire code which consumes a lot of time. Is there a faster way for setdiff function?
2 comentarios
Kirby Fears
el 11 de Abr. de 2016
Yuang,
What kind of data is in A and B?
Is one a superset of the other?
Walter Roberson
el 11 de Abr. de 2016
What is your data type? Numeric? Categorical? Table?
Respuestas (0)
Categorías
Más información sobre Workspace Variables and MAT Files en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!