findZero

版本 1.0.0 (2.1 KB) 作者: Ian Ammerman
Uses bisection and newtons method to find all function zeros on a given interval.
2.0 次下载
更新时间 2023/9/15

查看许可证

% Written By: Ian Ammerman
% Written: 9/15/23
%
% findZero(func,a,b) finds the root of func on the interval a,b. If multiple
% roots are present on the interval, new sub-intervals are defined and
% solved individually. The bi-section method is employed to a tolerance of
% 10^-2 and Newton's method is used for final convergence to 10^-6
%
% findZero(func,a,b,'ShowFigure',true) plots the function over the given
% interval along with the located roots.
%
% findZero(func,a,b,'Tolerance',tol) defines the tolerance for Newton's
% method convergence. Default is 10^-6

引用格式

Ian Ammerman (2024). findZero (https://www.mathworks.com/matlabcentral/fileexchange/135452-findzero), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0