FIND DIFFERENT ELEMENTS BETWEEN TWO GROUPS

2 views (last 30 days)
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

Star Strider
Star Strider on 19 Dec 2019
See if the setdiff function will do what you want.
Also explore other Set Operations if setdiff does not do what you want.

More Answers (0)

Categories

Find more on Startup and Shutdown 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!