help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fzero tolerance issue ... and a related bug


From: Joza
Subject: fzero tolerance issue ... and a related bug
Date: Wed, 17 Oct 2012 12:26:12 -0700 (PDT)

Hi guys.

So I would like to use fzero to solve for the root of a function. The
tolerance test I would like to use however is a bit tricky:

I would like to refer to the value of each iteration of the fzero function,
and stop when the difference between two values from two consecutive
iterations is less that a particular value. But how do I refer to the output
from each iteration of fzero? And baring in mind, I have a starting interval
[x1, x2] for the function also. My test refers to machine_epsilon times the
absolute value from that iteration.

As an aside, when I run the function with default tolerance, I get a message
that a valid initial bracket cannot be constructed ... but I am SUPPLYING
the initial bracket!!!? Any ideas?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/fzero-tolerance-issue-and-a-related-bug-tp4645391.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]