Newton - Raphson 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 (2024). Newton - Raphson method (https://www.mathworks.com/matlabcentral/fileexchange/29721-newton-raphson-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.