An example of the use of Broyden's method.
This file does not require the use of another, and the equations to be solved can be passed into the function. Only (2x2).
However if you wish to change this method for more equations feel free to make the required adjustments.
Example: x = broyden('x1+2*x2-2','x1^2+4*x2^2-4',[1 1]',50)
will give output
Paul de Wit (2022). Broydens Method (https://www.mathworks.com/matlabcentral/fileexchange/6155-broydens-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!