01-13-2007 05:37 PM
01-13-2007 05:42 PM
Hi Ifoitek,
Rounding the result of "Threshold 1D Array" (see Array pallet ) should do it!
Cheers
01-13-2007 06:12 PM - edited 01-13-2007 06:12 PM

(Of course of you have multiple elements that are equally close, finding all might need a bit more code. 😉 The above finds only the one with the lowest index).
Message Edited by altenbach on 01-13-2007 04:17 PM
01-13-2007 07:12 PM - edited 01-13-2007 07:12 PM
@altenbach wrote:
(The function "threshold array" only works for the very special case of an array sorted in non-descending order. So, depending on your array, it may, or may not give the correct result :().
You're right (of course
). I shouldn't have assumed Ifoitek's data would always be in ascending order, just because his example was. When you're on the field and catch these slips, it reminds/motivates one to work harder - not to let them slip by.
Cheers. ![]()
Message Edited by tbd on 01-13-2007 07:21 PM