Dear All,
I have a list as following (for example)
data = {10,8,7,6,5,3,4,5,2,3,2,1,0}
The first local minima is 3.
How can I find this value in Mathematica ?
Thank so much for your help.
Mia,
In addition to Rohit's solution, you can also do:
In[1]:= FindMinimum[Interpolation[data][x], {x, 1}, AccuracyGoal -> 5]
Out[1]= {3., {x -> 6.}}
-FindPeaks[-data][[1, 2]] (* 3 *)