Finding Zeros in 3D Data Set with GSL

  • Thread starter Thread starter r4nd0m
  • Start date Start date
  • Tags Tags
    Data Set
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
r4nd0m
Messages
96
Reaction score
1
Hi,
does anyone know of some nice root-finding method (preferable GSL :-)) for a data set - i.e. I have a set of 3D data (x,y,z) where z = f(x,y,) and I want to know where the zeros of f are. I guess, I could write it myself with some interpolation method, but just in case someone knows...
 
Physics news on Phys.org
yeah, but I'd like to know where exactly the points are, so the method I'm searching for should be using some kind of interpolation and then find the zeros.
 
Ah. Well this depends on the assumptions you make about the data. You could do a linear (or quadratic, or cubic, or some other polynomial) local fit/spline, or you could choose any of a number of other types of fits.

There's a free ("as in beer") program out there called CurveExpert that does this reasonably well, if you'd like to try it.