Owning Palette: Zeros VIs
Requires: Full Development System
Determines all zeros of a 1D function in a given interval. You must manually select the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
accuracy controls the accuracy of the zeros and the extrema. The default is 1.00E-8. | |||||
step type controls the spacing used for the function values. In general, modified function leads to more accurate zeros and extrema.
|
|||||
algorithm is the method used by the VI.
|
|||||
start is the start point of the interval. 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. The formula can contain any number of valid variables. | |||||
Zeros are the determined zeros of formula. | |||||
f(Zeros) contains the function values of Zeros. Usually, these values are close to 0. | |||||
ticks is the time in milliseconds for the whole calculation. | |||||
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. |
accuracy controls the accuracy of the zeros and the extrema. The default is 1.00E-8. | |||||
step type controls the spacing used for the function values. In general, modified function leads to more accurate zeros and extrema.
|
|||||
algorithm is the method used by the VI.
|
|||||
start is the start point of the interval. The default is 0.0. | |||||
end is the end point of the interval. The default is 1.0. | |||||
f(x) is a strictly typed reference to the VI that implements the 1D function. Create this VI by starting from the VI template located in labview\vi.lib\gmath\zero.llb\Zero Finder f(x) 1D.vit.
Open template |
|||||
data contains arbitrary values that pass to the VI that implements the function. | |||||
Zeros are the determined zeros of f(x). | |||||
f(Zeros) contains the function values of Zeros. Usually, these values are close to 0. | |||||
ticks is the time in milliseconds for the whole calculation. | |||||
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. |
To obtain the zeros of sin(sinc(gamma(x))) in the interval (–2, 2), enter the following values on the front panel:
The following illustration shows the graph and the zeros of sin(sinc(gamma(x))) in the interval (–2, 2).
Note For some functions, Zeros may contain false zeros that are actually singularities. For true zeros, f(Zeros) is close to 0. |
Refer to the 1D Explorer VI in the labview\examples\Mathematics\Optimization directory for an example of using the Find All Zeros of f(x) VI.