Newton Raphson method
Version 1.0.0.0 (462 Bytes) by
Sander Khowaja
This code calculates the roots using Newton Raphson method
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 LinuxCategories
Find more on Nonlinear Optimization in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: NewtonRaphson.m
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |