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.
引用格式
Aamir Alaud Din (2024). secant.m (https://www.mathworks.com/matlabcentral/fileexchange/43576-secant-m), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2010b
兼容任何版本
平台兼容性
Windows macOS Linux标签
致谢
启发作品: my_secant(x0,x1,n)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |