See https://github.com/tamaskis/bisection_method-MATLAB or “DOCUMENTATION.pdf” for additional documentation and examples. Examples can also be found in “EXAMPLES.m”.
The "bisection_method" function finds the root of a univariate function using the bisection method, given an initial guess for the interval containing the root. The tolerance and maximum number of iterations can also be specified as optional inputs. This function is not intended to replace MATLAB's "fzero", which uses a combination of bisection, secant, and inverse quadratic interpolation methods.
Tamas Kis (2021). Bisection Method (bisection_method) (https://github.com/tamaskis/bisection_method-MATLAB/releases/tag/v2.0.2), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.