Answer by István Zachar for How to find all the local minima/maxima in a range
Just for the record, if you are willing to (re)sample your function to have {x, y} pairs instead of a regular function or InterpolatingFunction, there are multiple methods available (see for example...
View ArticleAnswer by Silvia for How to find all the local minima/maxima in a range
I just come to sell my new MeshFunctions powered "golden hammer" :)GetRLine3[MMStdata_, IO_: 1][x_: x] := ListInterpolation[#, InterpolationOrder -> IO, Method -> "Spline"][ x] & /@...
View ArticleAnswer by azdahak for How to find all the local minima/maxima in a range
Since you're fitting your data with a cubic spline, and defining $f(x)$ as the derivative of the interpolation function, then if we solve for $f'(x)=0$ for the critical points, the resulting function...
View ArticleAnswer by Daniel Lichtblau for How to find all the local minima/maxima in a...
This can be done using event location within NDSolve. I start off as below (note f is slightly modified from what you have, mostly to rescale it).GetRLine3[MMStdata_, IO_: 1][x_: x] :=...
View ArticleAnswer by Mark McClure for How to find all the local minima/maxima in a range
Sounds like a job for Ted's RootSearch package.Clear[f];SeedRandom[1];GetRLine3[MMStdata_, IO_: 1][x_: x] := ListInterpolation[#, InterpolationOrder -> IO, Method -> "Spline"][x] & /@...
View ArticleHow to find all the local minima/maxima in a range
I want to find :all local maxima in range all local minima in range From those points I can interpolate and combine functions upper and lower boundary. What I am really interested in, is the mean...
View Article
More Pages to Explore .....