File Exchange

image thumbnail

Secant method

version 1.0.11 (1.28 KB) by Manotosh Mandal
Matlab code for secant method


Updated 14 Sep 2019

View License

In numerical analysis, the secant method is a root-finding algorithm that uses a succession of roots of secant lines to better approximate a root of a function f. The secant method can be thought of as a finite-difference approximation of Newton's method. See for the details:

Enter left point of interval 2

Enter right point of interval 3

Enter the error 0.001

The root is 2.707 >>

Cite As

Manotosh Mandal (2020). Secant method (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Brad Haddin



Method details with example.


Matlab code for secant method with example.

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