Barypolyint

Parent Previous Next

Barypolyint


Barycentric Polynomial Interpolation


Syntax


barypolyint(x, y, t)

x,y are vectors of the same size, t is a scalar

Return a value interpolated from x , y data set for t based on barycentric polynomial interpolation.


Example


Input

Output

x = linspace(0, PI/8.0, 8)

y = sin(x)

barypolyint(x, y, PI/2.0)


See Also


Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator