poly_pwhermite (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

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

文章是否对您有帮助?

没有帮助