File Exchange

image thumbnail

Newton's Method (newtons_method)

version 2.0.2 (256 KB) by Tamas Kis
Calculates the root of a differentiable, univariate function using Newton's method.


Updated 27 Mar 2021

From GitHub

View Version History

View license on GitHub

See or “DOCUMENTATION.pdf” for additional documentation and examples. Examples can also be found in “EXAMPLES.m”.

The "newtons_method" function finds the root of a differentiable, univariate function using Newton’s method, given the derivative of the function and an initial guess. The tolerance and maximum number of iterations can also be specified as optional inputs. This function is not intended to replace MATLAB's "fzero", which uses a combination of bisection, secant, and inverse quadratic interpolation methods.

Cite As

Tamas Kis (2021). Newton's Method (newtons_method) (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!