-2
In this picture we can see that my desired output , i want in signal if value go higher than 60.017 and comeback to 60.017 during this time all data points consider one envelope and do the same thing for whole signal. the same thing want to do for lower limit 59.983. at the end give flag 1 to p...