|
From: theozh <th...@gm...> - 2018-10-18 19:51:18
|
you're right, I wasn't clear. There are several possibilities. I'll try again. Actually, I had in mind either a point or range where you would say it "passes" the threshold. Assuming, as in the example, increasing (noisy) data values. a) range between two values: the first x1 value where y(x1) is above the threshold and the last value x2>x1 where y(x2) is below the threshold b) one value: where your "eye would say" this x value is the "crossing" of the threshold line. This probably would be a linear interpolation around the threshold value. > 4) for what x values is y(x) closer to threshold than both y(x-1) and y(x+1)?> Solutions to that do not necessarily involve crossing the threshold value at all.you're right, I assumed that a crossing exists. One value (version b) or a two values (version a) would be enough. |