Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Improving precision in fminunc
Date: Wed, 7 Oct 2009 13:08:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <hai3rg$qhc$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254920881 27180 172.30.248.37 (7 Oct 2009 13:08:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 7 Oct 2009 13:08:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1575133
Xref: news.mathworks.com comp.soft-sys.matlab:575595


Hi,

I am trying to minimize a non-linear function in two varibles. To test whether it works, I have tried using a function to which I know the solution. When my starting guess IS the solution, fminunc of course returns the starting guess as it should. However, when I vary the starting guess just slightly, the precision of the result is bad. Is there a way to increase the precision of the result?

Best regards and thanks a lot!

Mads