Compare two different data tables and extract rows
4 ビュー (過去 30 日間)
古いコメントを表示
I have two Excel file and also two different counter due to duplicate number. For example, Counter1 is 1,2,3,4,5; Counter2 is 1,2,2,3,4,5. Therefore, i wanna extract duplicate rows. Then, i would like to plot datas like plot(counter1,A1); hold on; plot(counter2,A2). My aim is display difference between 2 datas of excel files like plot(counter1,A-A). My problem is causing due to Data1 is receiving from sensor A, Data2 is receiving from sensor B.
Question: How can i match two counters? Note: For loop is take too long. I have more than 2.000.000.000 datas.

0 件のコメント
採用された回答
Cris LaPierre
2021 年 1 月 9 日
編集済み: Cris LaPierre
2021 年 1 月 9 日
I would use the unique function with the following syntax.
However, if you really have 2 billion rows, plan on any approach taking a while.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!