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

 Réponse acceptée

Star Strider
Star Strider le 19 Déc 2019

1 vote

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

2 commentaires

Sa
Sa le 19 Déc 2019
Thanks a lot for your help.
Star Strider
Star Strider le 19 Déc 2019
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by