newtzero
Versione 1.4.0.0 (3,38 KB) da
Matt Fig
Finds the root(s) of a function of one variable, including complex roots, using Newton's method.
NEWTZERO(f,xr,n,tol) finds roots of function f near guess xr with n iterations to tolerance tol. May find more than one root, even if guess is way off. NEWTZERO often works to find complex roots where FZERO fails. See examples in help.
The initial guess, number of iterations, and tolerance are optional arguments.
NEWTZERO finds the roots of functions of only one variable!
Please email me about bugs or other concerns. Thanks.
Cita come
Matt Fig (2025). newtzero (https://it.mathworks.com/matlabcentral/fileexchange/6924-newtzero), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
Scopri di più su Newton-Raphson Method in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
