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

 채택된 답변

Star Strider
Star Strider 2019년 12월 19일

1 개 추천

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

댓글 수: 2

Sa
Sa 2019년 12월 19일
Thanks a lot for your help.
Star Strider
Star Strider 2019년 12월 19일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

Sa
2019년 12월 19일

댓글:

2019년 12월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by