How compine features or how get same elements in 2 arrays

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 日

0 投票

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 件)

カテゴリ

質問済み:

2019 年 7 月 26 日

編集済み:

2019 年 7 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by