You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This is a simple and fast solver for nonlinear equation systems. Calculates a numerical Jacobian if not supplied by the user. It is an alternative to fsolve in Optimization Toolbox. In addition it allows bounds on independent variables, helping the user to find the relevant solution and avoid that his/her function is called with unwanted values.
Many implementations of Newton's method are already available on the File Exchange, but they are often restricted to one or a fixed number of equations, or they are tailored to specific applications. I have found this version useful for a range of problems.
Live scripts for help and examples are included.
Cite As
Are Mjaavatten (2026). Solver for nonlinear equation systems: newton.m (https://www.mathworks.com/matlabcentral/fileexchange/82320-solver-for-nonlinear-equation-systems-newton-m), MATLAB Central File Exchange. Retrieved .
General Information
- Version 2.0.2 (192 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
