|
"Aaron Brocq" <arun_18@hotmail.com> wrote in message <gn29t1$3ck$1@fred.mathworks.com>...
> 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.
>
> Aaron
It isn't clear what you want to do. You've written a function definition, not an equation, and you haven't said what it is you wish to optimize. How about giving a clearer picture of what you are asking about?
If you set f(x,y) equal to zero, that defines a conic section, an ellipse, but what aspect of the ellipse would you like to optimize?
Roger Stafford
|