
From:  Thomas D. Dean 
Subject:  Re: Nonlinear Equation Solve 
Date:  Tue, 14 Feb 2012 15:46:40 0800 
Useragent:  Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120126 Thunderbird/9.0 
On 02/14/12 15:37, Dmitri A. Sergatskov wrote:
f = @(x)sin(x)+3; x = fminunc(f,4, optimset("TolX",10*eps,"TolFun",10*eps,"ComplexEqn","on"))
Yes, it works for that application. octave:73> f = @(x)sin(x)+3;octave:74> x = fminunc(f,4, optimset("TolX",10*eps,"TolFun",10*eps,"ComplexEqn","on"))
x = 4.7124 Tom Dean
[Prev in Thread]  Current Thread  [Next in Thread] 