Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

poly_pwhermite (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: polynomials

Requires: MathScript RT Module

Syntax

poly_pwhermite(x1, y1, x2)

y2 = poly_pwhermite(x1, y1, x2)

Legacy Name: pchip

Description

Generates a piecewise cubic Hermitian polynomial. LabVIEW uses x1 and y1 to generate the piecewise cubic Hermitian polynomial. x2 specifies additional x-values, and y2 returns the y-values that correspond to x2. In other words, (x2, y2) are interpolated values of the underlying piecewise cubic Hermitian polynomial.

Examples

Inputs

Name Description
x1 Specifies a real vector.
y1 Specifies a real vector of the same size as x1. y1 also can be a matrix. If y1 is a matrix, LabVIEW treats the columns of y1 as the vector y1.
x2 Specifies a vector of additional x-values.

Outputs

Name Description
y2 Returns a real vector of the same size as x2.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

Y2 = poly_pwhermite([1, 2, 3, 4, 5, 6], [0, 0, 1, 1, 0, 0], [2.3, 7.1])

Related Topics

interpolate1d
spline


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit