|Download Help (Windows Only)|
Owning Class: zerofinder
Requires: MathScript RT Module
y = fsolve_zeros(fun, y0)
Uses a nonlinear equation solver to determine the y-values in a nonlinear system of equations.
|fun||Specifies the name of the function, defined and saved in a .m file, that describes the system of nonlinear equations. The function must have the following form: function fx = fun(x). fun is a string.|
|y0||Specifies the y-values of the starting value. y0 is a real, double-precision vector. To generate a valid approximation, y0 must be reasonably close to a solution.|
|y||Returns the y-values LabVIEW approximates. y is a real, double-precision vector of the same size as y0.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||No|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
Save the following script as nonlin.m in a directory in the MathScript search path:function fx = nonlin(x)
Then call the following command in the LabVIEW MathScript Window:y = fsolve_zeros('nonlin', [3, 3])