halcon找出数组中大于某个值的其他方法
2020-05-29 本文已影响0人
卡拉肖克_潘
例如:找出数组中大于3的数
Angles3:=[1.1,2.2,3.3,4.4,5.5,6.6,7.7,8.8]
tuple_div (Angles3, 3, Div)
tuple_floor (Div, Floor)
tuple_int (Floor, Int)
tuple_and (Int, 1, aand)
tuple_find (aand, 1, Indices)
![](https://img.haomeiwen.com/i21024869/316df8c8386e11b1.png)
例如:找出数组中大于3的数
Angles3:=[1.1,2.2,3.3,4.4,5.5,6.6,7.7,8.8]
tuple_div (Angles3, 3, Div)
tuple_floor (Div, Floor)
tuple_int (Floor, Int)
tuple_and (Int, 1, aand)
tuple_find (aand, 1, Indices)