Quartic interpolation
- From: Ignoramus11682 <ignoramus11682@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Sep 2006 15:37:46 GMT
This is about finding the best interpolation of a function given two
values and two slopes.
My problem (which is not a homework assignment, a real life need) is
as follows:
GIVEN: We are given two points: (x0, y0), and (x1, y1). We are also
given tangents at points x0 and x1: t0 and t1.
FIND OUT: Equation of a quartic function (4th degree polynomial) that
has value y0 in point x0, y1 in point x1, and derivatives t0 and t1 in
points x0 and x1 respectively, such that its graph has a shortest
length between points x0 and x1.
Side note, we think that such a minimal length graph would be a
"nicest looking" interpolation without unnecessary extremums etc.
I think that I can find the family of possible coefficients (with one
parameter, since we find 5 coefficients given four values we have one
"degree of freedom") with a bit of linear algebra. (I even have it
written down)
The length measure could be calculated also as a 7th degree polynomial
of that parameter. It would then need to be minimized numerically.
My question is this. Is the above correct and am I on the right
track.
thanks
i
.
- Follow-Ups:
- Re: Quartic interpolation
- From: Robert Israel
- Re: Quartic interpolation
- From: Randy Poe
- Re: Quartic interpolation
- Prev by Date: Re: An uncountable countable set
- Next by Date: Re: An uncountable countable set
- Previous by thread: Two infinity questions
- Next by thread: Re: Quartic interpolation
- Index(es):
Relevant Pages
|