Polyintcoef

Parent Previous Next

Polyintcoef


Polynomial Interpolation Coefficient


Syntax


polyintcoef(x, y)

x,y are vectors of the same size

Return return an array contains coefficients to calculate polynomial interpolation.


Example


Input

Output

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

y = sin(x)

polyintcoef(x, y)


See Also


Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily