How compine features or how get same elements in 2 arrays
조회 수: 1 (최근 30일)
이전 댓글 표시
I used Surf and MERS features extraction i need to get out the elements that found in the two arrays of points locations
댓글 수: 0
채택된 답변
KALYAN ACHARJYA
2019년 7월 26일
편집: madhan ravi
2019년 7월 26일
I am considering "or" part of the question "how get same elements in 2 arrays?"
Use Intersection between two array, see detail here
See the following example, where A and B are two arrays having any lengths
>> A=1:10;
>> B=[2 3 4 5 200 100 101];
>> result=intersect(A,B)
Command Window:
result =
2 3 4 5
Hope it Helps!
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!