How compine features or how get same elements in 2 arrays
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hajer jon
am 26 Jul. 2019
Bearbeitet: madhan ravi
am 26 Jul. 2019
I used Surf and MERS features extraction i need to get out the elements that found in the two arrays of points locations
0 Kommentare
Akzeptierte Antwort
KALYAN ACHARJYA
am 26 Jul. 2019
Bearbeitet: madhan ravi
am 26 Jul. 2019
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Feature Detection and Extraction finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!