Member of the polynomials class.
pchip(x1, y1, x2)
y2 = pchip(x1, y1, x2)
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.
| 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. |
| Name | Description |
| y2 | Returns a real vector of the same size as x2. |
Y2 = pchip([1, 2, 3, 4, 5, 6], [0, 0, 1, 1, 0, 0], [2.3, 7.1])