Cuhsplint

Parent Previous Next

Cuhsplint


Cubic Hermite spline interpolation


Syntax


cuhsplint(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 cubic Hermite spine interpolation.


Example


Input

Output

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

y = sin(x)

cuhsplint(x, y, PI/16.0)


See Also


Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source