Ratint

Parent Previous Next

Ratint


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


Syntax


ratint(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 rational interpolation.


Example


Input

Output

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

y = sin(x)

ratint(x, y, PI/2.0)


See Also


Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator