For details of the method and also coding watch the lecture: https://youtu.be/Ea_WVeHj7wU
Example:
Enter the function f(x): inline('x*x*x-4*x-9')
Enter the function f’(x): inline('3*x*x-4')
Enter initial guess 2
Enter the error 0.001
The root is 2.707 >>
引用格式
Dr. Manotosh Mandal (2024). Newton Raphson (https://www.mathworks.com/matlabcentral/fileexchange/72482-newton-raphson), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2019a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
在 Help Center 和 MATLAB Answers 中查找有关 Newton-Raphson Method 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!