Nonlinear equation system solver: broyden

Solve set of nonlinear equations. Optionally define bounds on independent variables.
1.5K Downloads
Updated 18 May 2023

View License

This function tries to solve f(x) = 0, where f is a vector function. Uses Broyden's pseudo-Newton method, where an approximate Jacobian is updated at each iteration step, using no extra function evaluations. The optional bounds keep the search within a rectangular region.
fsolve from the optimisation toolbox is more robust but lacks the bounds option.

Cite As

Are Mjaavatten (2024). Nonlinear equation system solver: broyden (https://www.mathworks.com/matlabcentral/fileexchange/54667-nonlinear-equation-system-solver-broyden), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Systems of Nonlinear Equations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.0.1

Improved robustness.
Added Live Editor script broyden_demo.mlx

1.2.0.0

Revised call sequence: bounds and other optional inputs are now entered ar name/value pairs. Added Image and Live Script example.

1.1.0.0

Added iteration history as an output.

1.0.0.0