The following Matlab project contains the source code and Matlab examples used for find the root of an equation using secant's method . The function takes three input arguments (function and two initial guesses belonging to the interval). After iterations, it returns the root of the function. The fourth input argument is to change the stopping criteria of the loop.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.