Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Finding the vertex of a curve (slightly-Perl answer)

by svsingh (Priest)
on May 23, 2003 at 15:31 UTC ( [id://260380]=note: print w/replies, xml ) Need Help??


in reply to Finding the vertex of a curve

There are two situations that I can think of here...
  • The curve is defined by an equation: In this case you can use some calculus to find the derivative of the equation. I did some checking on CPAN and think Math::Polynomial::Solve may work for you. I haven't used it though.
  • The curve is a line-graph created by data points: I think this is more likely to be your situation, but don't understand how your peak could not be a data-point in this case since every segment on the graph starts and ends with datapoints.

Please let us know what kind of data you're working with. You've got me curious now and shaking some of the rust off my math skills couldn't hurt either.

  • Comment on Re: Finding the vertex of a curve (slightly-Perl answer)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://260380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found