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

 Respuesta aceptada

Star Strider
Star Strider el 19 de Dic. de 2019

1 voto

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

2 comentarios

Sa
Sa el 19 de Dic. de 2019
Thanks a lot for your help.
Star Strider
Star Strider el 19 de Dic. de 2019
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

Sa
el 19 de Dic. de 2019

Comentada:

el 19 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by