NEWTZERO(f,xr,n,tol) finds roots of function f near guess xr with n iterations to tolerance tol. May find more than one root, even if guess is way off. NEWTZERO often works to find complex roots where FZERO fails. See examples in help.
The initial guess, number of iterations, and tolerance are optional arguments.
NEWTZERO finds the roots of functions of only one variable!
Please email me about bugs or other concerns. Thanks.
Matt Fig (2021). newtzero (https://www.mathworks.com/matlabcentral/fileexchange/6924-newtzero), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!