Matlab code for function y=newton_modif(g,x0,o)
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)
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
Etiquetas
Agradecimientos
Inspirado por: lattitle
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |