How to find the unique values between two datasets?
Show older comments
Dear all,
I have two datasets. The fisrt one is the ground truth reference, A={(1,2,3),(1,2,4),(1,3,5),(1,2,6)}. The next is the oberserved data, B={(1,2,6),(1,2,4)}
How can I get the result something like C=A-B, C={(1,2,3),(1,3,5)} ? C represents which are not detected by method.
The length of B is not equal to A, and the lines in dataset is not in order.
I do appreciate for all of you!
The right input for Matlab:
A = [1 2 3; 1 2 4; 1 3 5; 1 2 6];
B = [1 2 6; 1 2 4];
thanks to Guillaume
Accepted Answer
More Answers (1)
Jr. Jim Lee
on 12 Apr 2019
0 votes
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!