From: "Aaron Brocq" <>
Newsgroups: comp.soft-sys.matlab
Subject: Help with some optimisation.
Date: Thu, 12 Feb 2009 23:04:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 11
Message-ID: <gn29t1$3ck$>
Reply-To: "Aaron Brocq" <>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1234479841 3476 (12 Feb 2009 23:04:01 GMT)
NNTP-Posting-Date: Thu, 12 Feb 2009 23:04:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1642412
Xref: comp.soft-sys.matlab:517982

Given an equation; f(x,y) = 2.5x^2 + 0.5y^2 + 2xy - 3x - y

How do I even begin to optimise this using quasi newton methods. 

I have absolute basic knowledge of Matlab and am struggling with this. 

I believe I have to use the 'trainbfg' function. I've tried various texts with this but cannot get alegitimate result.

Help would be much appreciated.