How compine features or how get same elements in 2 arrays
3 次查看(过去 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 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!