interpolation

Interpolation.

Syntax

Description

x and y are arrays of values used to approximate some function f: y = f(x). This function returns an array of the interpolated values at x_est by linear interpolation as default.


The interpolation method is specified by the parameter kind.

Examples


Input Arguments

x —— x-coordinates. A 1-D array of real value.


y —— A N-D array of real values. The length of y along the interpolation axis must be equal to the length of x.


x_est —— A 1-D array of values to evaluate the interpolant.


kind —— Kind of interpolation, specified as one of the following strings.

The default is linear.

Properties of Arguments

Name of the parametersIs optional?Source, dialog or input port?
xNoInput port
yNoInput port
x_estNoInput port
kindYesDialog