POV-Ray : Newsgroups : povray.general : Curve fitting : Re: Curve fitting Server Time
30 Jul 2024 20:27:36 EDT (-0400)
  Re: Curve fitting  
From: Stephen
Date: 11 Jun 2008 06:01:18
Message: <q88v445n4nj4fib1304g6pdpgibi96gu98@4ax.com>
On 11 Jun 2008 05:13:29 -0400, Nicolas George
<nicolas$george@salle-s.org> wrote:

>Stephen  wrote in message <594t44hfs6cuejciibnd0vrnkve4q303jl@4ax.com>:
>> Does anyone know of free software :) that will give me an equation
>> from a set of data points?
>
>There is no generic solution to this problem. If you have a particular form
>of equation in mind (affine, exponential, etc.), there are ways to calculate
>the best coefficients, but nothing can guess the form of equation for you.

Thanks for your time Nicolas. I know that there is no generic
solution. I have been splitting the points up into smaller sections to
work out several curves in ranges. 

>And the points you are giving do not look like anything I know.
>

The points posted represent the Y coordinates of a falling then
bouncing stick on a sloping stage. (It is for a TC-RTC entry)

>>					   It does have the ability to
>> create the points from a polynomial equation
>
>You can find a polynomial that will fit exactly any points you want (as long
>as there are no conflicts), but the number of coefficients will be the same
>as the number of points. With so many points, the coefficients will be huge,
>and the polynomial will make giant leaps between each point. I strongly
>advise against this solution.

I would advise against it myself :)
But until my modeller has the ability to upload the data I am stuck
with trying to find a solution. I downloaded a curve-fit program to
try out and got similar results when I checked them out in Excel. So I
now believe that my Excel spreadsheet has a problem and will look into
this.
Again thank you for your time.
-- 

Regards
     Stephen


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.