I have ref value as
ref = [9.8 13 10.51 12.2 10.45 11.4]
and In values as
In = [10.7 11 11.5 11.9 12]
I want to do following two things :
- Identify which
Invalue closest matches withrefvalue and then after - To check whether the matched
Invalue is lower or higher thanrefvalue. If it is lower than saved in array1 and if it is higher than saved in array2