FIND DIFFERENT ELEMENTS BETWEEN TWO GROUPS

Hello everybody!
Could anyone suggest me which function I can use to find different elements between two groups. I have two groups of elements, I need to find which elements belong to just one of the two groups.
Thanks a lot

 Accepted Answer

See if the setdiff function will do what you want.
Also explore other Set Operations if setdiff does not do what you want.

2 Comments

Thanks a lot for your help.
As always, my pleasure!

Sign in to comment.

More Answers (0)

Asked:

Sa
on 19 Dec 2019

Commented:

on 19 Dec 2019

Community Treasure Hunt

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

Start Hunting!