newtzero
by Matt Fig
15 Feb 2005
(Updated 21 May 2009)
Finds the root(s) of a function of one variable, including complex roots, using Newton's method.
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (11) |
| 29 Apr 2005 |
clement marchand
|
|
|
| 29 Apr 2005 |
mike owens
|
|
|
| 14 Oct 2005 |
Mike Zand
|
|
|
| 20 Feb 2007 |
Yang Xiao
|
|
|
| 25 Sep 2007 |
Jimmy Banker
|
|
|
| 31 Dec 2007 |
taoufik brahim
|
|
|
| 03 Jan 2008 |
matt fig (author)
|
|
|
| 10 Jul 2008 |
Kalid M
|
|
|
| 15 Feb 2009 |
Andrew O'Connor
|
|
|
| 22 Jun 2011 |
Fabro
|
|
|
| 19 Jul 2011 |
Nate
|
|
|
| Updates |
| 17 Feb 2005 |
Bug fix. |
| 11 Jul 2008 |
I wrote the initial version a long time ago, there was no commenting or arg checking, so I fixed it. |
| 14 Jul 2008 |
Description needed updating. |
| 31 Jul 2008 |
TYPO fix |
| 22 Jan 2009 |
Better filtering |
| 21 May 2009 |
Faster method. |
|
Contact us at files@mathworks.com