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

NEWTON_MODIF tries to find the root of an equation g(x)=0
27 Downloads
Updated 3 May 2019

View License

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)

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: lattitle

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0