LinearInterp function
Syntax
LinearInterp(DataPoints)
Description
Use the LinearInterp function to compute a set of lines through a sequence of at least two points.
Parameters
| Parameter | Description |
|---|---|
|
DataPoints |
This parameter takes an array of array of number. The array’s contents are an array of six numbers. The first two of these six numbers are the x and y points to be fit. The last four are the four coefficients to be returned from the function: a, b, c and d. a is the coefficient of the x0 term, b is the coefficient of the x1 term, c is the coefficient of the x2 term, and d is the coefficient of the x3 term. |
Returns
A modified array of array of numbers. The elements in the array correspond to the elements in the array used for DataPoints. The c and d elements contain zeros.
Related Topics