newtzero

Finds the root(s) of a function of one variable, including complex roots, using Newton's method.

You are now following this Submission

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.

Cite As

Matt Fig (2026). newtzero (https://www.mathworks.com/matlabcentral/fileexchange/6924-newtzero), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Faster method.

1.3.0.0

Better filtering

1.0.0.0

TYPO fix