Cuhsplintcoef

Parent Previous Next

Cuhsplintcoef


Cubic Hermite spline interpolation coefficient


Syntax


cuhsplintcoef(x, y)

x,y are vectors of the same size

Return return an matrix whose rows contains coefficients to calculate cubic Hermite spine interpolation for each data interval.


Example


Input

Output

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

y = sin(x)

cuhsplintcoef(x, y)


See Also


Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad