See https://github.com/tamaskis/secant_method-MATLAB or “DOCUMENTATION.pdf” for additional documentation and examples. Examples can also be found in “EXAMPLES.m”.
The "secant_method" function finds the root of a univariate function using the secant method, given an initial guess. 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). Secant Method (secant_method) (https://github.com/tamaskis/secant_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!