File Exchange

image thumbnail

Secant Method (secant_method)

version 2.0.2 (274 KB) by Tamas Kis
Calculates the root of a univariate function using the secant method.

7 Downloads

Updated 27 Mar 2021

From GitHub

View Version History

View license on GitHub

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.

Cite As

Tamas Kis (2021). Secant Method (secant_method) (https://github.com/tamaskis/secant_method-MATLAB/releases/tag/v2.0.2), GitHub. Retrieved .

Comments and Ratings (1)

Luke Neise

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!