I have two arrays:
y = [1 1 1 1 1 1.5 1.7 1.9 2 2.7]
x = [25:35]
How can I find the corresponding x value for the first number that breaks the chain in y (in this case 1.5)?
y values are different for each loop but the x is almost stable.
Furthermore, how can I store the x y values of the first value that breaks the chain in a loop. Thank you so much.