faster method for setdiff

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 ExchangeWorkspace Variables and MAT Files についてさらに検索

質問済み:

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