Borrar filtros
Borrar filtros

How compine features or how get same elements in 2 arrays

1 visualización (últimos 30 días)
hajer jon
hajer jon el 26 de Jul. de 2019
Editada: madhan ravi el 26 de Jul. de 2019
I used Surf and MERS features extraction i need to get out the elements that found in the two arrays of points locations

Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 26 de Jul. de 2019
Editada: madhan ravi el 26 de Jul. de 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!

Más respuestas (0)

Categorías

Más información sobre Feature Detection and Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by