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

 Risposta accettata

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

2 Commenti

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by