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

Kirby Fears
Kirby Fears 2016년 4월 11일
Yuang,
What kind of data is in A and B?
Is one a superset of the other?
Walter Roberson
Walter Roberson 2016년 4월 11일
What is your data type? Numeric? Categorical? Table?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Structures에 대해 자세히 알아보기

질문:

2016년 4월 11일

댓글:

2016년 4월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by