secant.m

Find the root of an equation using secant's method

You are now following this Submission

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.

Cite As

Aamir Alaud Din (2026). secant.m (https://in.mathworks.com/matlabcentral/fileexchange/43576-secant-m), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: my_secant(x0,x1,n)

Categories

Find more on Chemistry in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0