Newton - Raphson method
Version 1.4.0.0 (1.84 KB) by
Andrea Cirillo
Find the zero of a regular function with Newton - Raphsons' method.
It is a Matlab function that determines the zero of a regular real function.
zero=newton_raphson(function,error)
The function has two input variable: 'function' is a string that represents the function of which find the relative zero. It must be expressed with the real variable 'x'. 'error' is the tolerance for the algorithm's arrest.
The function returns the zero point of the real function. It plots, in a figure, the function and the tangents used for the search of the zero.
Cite As
Andrea Cirillo (2026). Newton - Raphson method (https://www.mathworks.com/matlabcentral/fileexchange/29721-newton-raphson-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
Find more on Newton-Raphson Method in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
