fsolve problem

John W. Eaton jwe at bevo.che.wisc.edu
Wed Feb 20 04:27:52 CST 2008


On 20-Feb-2008, Rolf Fabian wrote:

| 
| For functions like e.g.
|      F = "x(1).^19 + x(2).^19 - 1"
| fsolve returns output x == input x0 as well as successful
| iteration  flag (info =1) despite the fact that
| fval(1) > 10^15 which is definitely far from zero.
| 
| BTW 
| Why is 'fval' not a scalar ?

Because Octave's fsolve expects to be solving square systems.  It
should detect this and fail.

jwe


More information about the Bug-octave mailing list