Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
My problem is that I have a set of coordinates from a graph corresponding to a peak and need to find the vertex (highest value of the peak, with my data this may not correspond to a data-point). I wondered whether anyone knows how I could implement this in perl (or if anyone has done this before and has a neat method)?!
I am looking into implementing a quadratic function to solve this problem (possibly with the help of modules like Math::polynomial, but then you still have to do a lot of the math (and i dont know a nice way of doing algebra in perl). I would love to hear your ideas.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding the vertex of a curve
by benn (Vicar) on May 23, 2003 at 11:34 UTC | |
|
Re: Finding the vertex of a curve (slightly-Perl answer)
by svsingh (Priest) on May 23, 2003 at 15:31 UTC |