Scilab Function
Last update : 1/11/2005

akima - Akima Interpolation

Calling Sequence

[xi,yi] = akima(x,y,K)

Parameters

Description

The given point (x,y) are approximated by 3rd order polynomials. The 2nd derivative is not considered (like with spline interpolation). Therefore wiggles are surpressed as far as possible.

If the input sequence consist of N points, then the result of interpolation consists of (N-1)*K points.

Examples

x=[1,2.5,3.2,4.8,5.9,6.2,7.7,8.3,9.3];
y=[0,0,1,1,2,2,3,3,4];
[xi,yi]=akima(x,y,5); 
plot2d(x,y,style=-3);
plot2d(xi,yi,style=2);

See Also

bezier ,  

Authors

Dr. Andreas Geissler geisslea@web.de