"Roger Stafford" wrote in message <iu82j8$gun$1@newscl01ah.mathworks.com>...
> "sk maidul haque" <skmaidulhaque@gmail.com> wrote in message <iu6ln0$1n6$1@newscl01ah.mathworks.com>...
> > Can somebody please explain me what does it mean by 'parabolic interpolation between 3 nearest points' . Does it mean that a parabola is to be ploted between 3 points which are nearest to the concerned point where I want to do the interpolation and then to calculate the value from the equation of parabola at concerned point.
> > If it is so, then what is the form of equation of parabola to be used ?
> >
> > what is the related command in matlab to do parabolic interpolation between specified number of nearest neighbour points.
> >
> > Thanks in advance.
>          
> Assuming your interpretation is the one to be used, let (x1,y1), (x2,y2), and (x3,y3) be the three "nearest" points and (x,y) be the "concerned" point. If (x,y) is to lie on the parabola through the three points, you can express y as a quadratic function of x in the form:
>
> y = a*(xx2)^2 + b*(xx2) + y2
>
> where a and b are:
>
> a = ((y3y2)/(x3x2)(y2y1)/(x2x1))/(x3x1)
> b = ((y3y2)/(x3x2)*(x2x1)+(y2y1)/(x2x1)*(x3x2))/(x3x1)
>
> An alternative would be to use Lagrange's interpolation method for second degree polynomials. See
>
> http://en.wikipedia.org/wiki/Lagrange_polynomial
>
> Roger Stafford
>>>>>>Thanks.
but then what will be the corresponding equation if the parabolic interpolation is to be made between 4 nearest points instead of 3.
Is it going to be of the form
y = a*(xx2)^3 + b*(xx2)^2 + c*(xx2)+ y2
where
a=..........
b=............
c=............
If it is so, then what is the difference between parabolic interpolation and polynomial interpolation.
