secant.m
Version 1.0.0.0 (1.66 KB) by
Aamir Alaud Din
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.
Cite As
Aamir Alaud Din (2024). secant.m (https://www.mathworks.com/matlabcentral/fileexchange/43576-secant-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: my_secant(x0,x1,n)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |