using ismember with different arrays
이전 댓글 표시
a=[4 6 1 2]
b=[4 2 1 9]
c=[8 0 5 4]
[n,m]=ismember(a,b,c); %How can i do it?
Answer is 4... the 4 is in a,b and c
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!