LinearInterp

Mon 01 January 2018

Syntax

LinearInterp(DataPoints)

Description

Use the LinearInterp function to compute a set of lines through a sequence of at least two points.

Parameters

Field or Control

Definition

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 x 0 term, b is the coefficient of the x 1 term, c is the coefficient of the x 2 term, and d is the coefficient of the x 3 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.