Eval y=f(x) Optimal Step VI

Owning Palette: 1D & 2D Evaluation VIs

Requires: Full Development System

Calculates the values of a more complex 1D function given by a formula.

The values are calculated with higher accuracy than by the Eval y=f(x) VI.

Example

 Add to the block diagram  Find on the palette
number of points is the number of calculated points at the beginning of the execution. The default is 10. Usually, many more points will be added.
epsilon controls the construction of specific points between the start and end points that will be used in the calculation.
start is the start point of the interval under investigation. The default is 0.0.
end is the end point of the interval. The default is 1.0.
formula is a string describing the function under investigation. The formula can contain any number of valid variables.
X Values is the array of equidistant points between start and end.
Y Values is the array of function values from the corresponding points of X Values.
ticks is the time in milliseconds to analyze the formula and to produce the X Values and the Y Values arrays.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Example

Refer to the 1D Explorer VI in the labview\examples\Mathematics\Optimization directory for an example of using the Eval y=f(x) Optimal Step VI.

 Open example  Find related examples