Publisher review:Solve a set of Nonlinear Equations - Solve a set of nonlinear equations using a quasi-Newton algorithm. Same algorithm as old fsolve. [Xf,Fval,ExitFlag,Iters]=MMFSOLVE(FUN,Xo,Options) finds a zero of the vector function FUN(X) starting from the initial guess Xo. FUN is a function handle or a function M-file name that evaluates FUN(X). Use anonymous functions or nested functions to pass additional parameters to FUN. Options is an optional structure that defines algorithm behavior. If Options are not given default options are used.Options=MMFSOLVE('Name',Value,...) sets values in Options structure based on the Name/Value pairs:Name Values {default} Description'Display' ['on' {'off'}] Display iteration information'Jacobian' {'broyden'} Broyden's Jacobian approximation'Jacobian' 'finite' Finite Difference Jacobian'Jacobian' @JNAME Analytic Jacobian function handle'FunTol' {1e-7} NORM(FUN(X),1) stopping tolerance'MaxIter' {100} Maximum number of iterations'MaxStep' value Maximum step size in X allowedif 0, algorithm chooses MaxStep'Scale' ['on' {'off'}] Scale algorithm using XoOptions=MMFSOLVE('default') returns the default options structure.Options=MMFSOLVE(Options,'Name',Value,...) updates the Options structure with new parameter values.Output Arguments:Xf = final solution approximationFval = FUN(Xf)ExitFlag = termination code:1 = normal return, 2 = two steps too small3 = line search failure, 4 = too many iterations5 = five steps too big, 6 = stuck at minimizerIters = iteration count Requirements: ยท MATLAB Release: R14SP2
Solve a set of Nonlinear Equations is a Matlab script for Miscellaneous scripts design by Duane Hanselman.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris