Baryratint

Parent Previous Next

Baryratint


Barycentric Rational Interpolation (Bulirsh-Stoer-Neville’s algorithm)


Syntax


baryratint(x, y, m, t)

x,y are vectors of the same size, m is integer and m > 1, t is a scalar

Return a value interpolated from x , y data set for t based on barycentric rational interpolation. m is the degree of rational interpolation


Example


Input

Output

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

y = sin(x)

baryratint(x, y, 4, PI/2.0)


See Also


Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator