Matlab code for function y=newton_modif(g,x0​,o)

版本 1.0.0 (1.9 KB) 作者: Konstantin Ninidze
NEWTON_MODIF tries to find the root of an equation g(x)=0
27.0 次下载
更新时间 2019/5/3

查看许可证

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 (2024). 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
类别
Help CenterMATLAB 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