Owning Palette: 1D & 2D Evaluation VIs
Requires: Full Development System
Calculates the function values of a given function at an arbitrarily given set of n dimension points.
Add to the block diagram | Find on the palette |
formula is a string representing the n dimension function under investigation. The formula can contain any number of valid variables. | |
X Values is a 2D array of x values. Each row of the array represents the fixed values of each of the Variables of the n-dimensional function. The other dimension of the array marks the different n-dimension points at which the function has to be calculated. | |
Variables is an array of strings. Each element of the array stands for a variable name of the n-dimension independent terms. | |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
Y Values is the 1D array of the evaluated values Y[i] using formula(X Values). Each element of Y Values corresponds to the corresponding column of X Values. | |
error out contains error information. This output provides standard error out functionality. |
The VI calculates the function values using the following equation.
yi = f(x1i, x2i, …, xni),
where f is an n-dimensional function given by the formula, and (x1, x2, …, xn) are n independent variables.
The following inputs result in Y Values [3, 17]: