|
![](/i/fill.gif) |
"Tor Olav Kristensen" <tor### [at] hotmail com> wrote in message
news:3C476509.937360DC@hotmail.com...
>
> Unfortunately I don't have to to investigate
> this, but you can try this search:
>
>
http://www.google.com/search?hl=en&q=curve+fitting+3rd+degree+polynomial+%22
cubic+spline%22
>
> Btw.:
> Are you thinking of using _one_ or _several_
> cubic splines to interpolate the function ?
>
>
> Tor Olav
Ok, I've managed to write a macro to fit the a cubic spline (pov 3.5 b10) to
a function. I assigned control points to the peaks, troughs, and zero
crossings of the function. The only thing I still can't figure out is how
to find the endpoints. For n points running from 0 to n, I've only managed
to get everything between 1 and n-1. I tried the links that Tor Olav
suggested and even tried other sites on the subject but I'm still stumped.
Odds are the answer is staring me in the face but .....
I'm using the POV 3.5 cubic spline feature so I need to find the time value
and coords of the endpoints.
Thanks
Chris
Post a reply to this message
|
![](/i/fill.gif) |