필터 지우기
필터 지우기

How compine features or how get same elements in 2 arrays

조회 수: 1 (최근 30일)
hajer jon
hajer jon 2019년 7월 26일
편집: madhan ravi 2019년 7월 26일
I used Surf and MERS features extraction i need to get out the elements that found in the two arrays of points locations

채택된 답변

KALYAN ACHARJYA
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개)

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by