HermiteCubic

Mon 01 January 2018

Syntax

HermiteCubic(DataPoints)

Description

Use the HermiteCubic function to compute a set of interpolating equations for a set of at least three datapoints. This particular Hermitian cubic is designed to mimic a hand-drawn curve.

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 .