Design-Time Functions > Functions: M - P > NOTAKNOT_SPLINE

www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index


Your Ad Here

NOTAKNOT_SPLINE
Creates an interpolated curve from input points with a specified number of values. Interpolates using the Not-a-knot cubic spline.
The length of the Independent Data array must be the same as the Dependent Data array.
Format
NOTAKNOT_SPLINE (Independent Data, Dependent Data, Number of Output Values)
Arguments
 
A 1xN array of x values for the curve to be interpolated. The x values of the points must be in ascending order, and the length of the array must be greater than or equal to 4.
Example
The following function interpolates a set of four points with ordinal values from 1 to 4 and abscissal values as shown, into a series of 10 abscissal values:
 
To compute the ordinal values for these splined values, you can use the SERIES2 function as follows:
 
Learn more about matrix/array functions.
 
Your Ad Here