NEWTON_MODIF tries to to find the root of an equation g(x)=0
by modified Newton-Raphson method
input:
g must be the @-syntax function or symbolic expression or char
x0 guess value
g must by ready for array input
Example g='sin(x)';,x0=2;y=newton_modif(g,x0,0) or
g=@(x)sin(x)+x.*cos(x); x0=1; y=newton_modif(g,x0,1) or
syms x; g=sin(x); y=newton_modif(g,x0,1)
引用格式
Konstantin Ninidze (2025). Matlab code for function y=newton_modif(g,x0,o) (https://www.mathworks.com/matlabcentral/fileexchange/71439-matlab-code-for-function-y-newton_modif-g-x0-o), 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 的更多信息
标签
致谢
参考作品: lattitle
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |