Newton Raphson method

This code calculates the roots using Newton Raphson method
1.5K Downloads
Updated 1 Nov 2014

View License

This code used the number of iterations as a stopping criterion, this is a very simple code and can be improved as per the requirement. This function takes two arguments 1. initial guess 2. number of iterations, still amateur but very simple.

Cite As

Sander Khowaja (2024). Newton Raphson method (https://www.mathworks.com/matlabcentral/fileexchange/48322-newton-raphson-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Nonlinear Optimization in Help Center and MATLAB Answers
Acknowledgements

Inspired by: NewtonRaphson.m

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0