Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Help with some optimisation.

Subject: Help with some optimisation.

From: Aaron Brocq

Date: 12 Feb, 2009 23:04:01

Message: 1 of 2

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

Subject: Help with some optimisation.

From: Roger Stafford

Date: 12 Feb, 2009 23:34:01

Message: 2 of 2

"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

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us