help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

function minimization


From: Michael Teitelbaum
Subject: function minimization
Date: Tue, 26 Jun 2012 14:00:54 -0400

Hi,
I am on octave beginner, trying to minimize a function of 2 variables.  I have the function ready, but I'm not sure where to go from here:

f = (A(4,4) * 1400 * A(4,3) / (A(4,3) + x) * y + 8 /1400 * (A(4,4) * 1400 * A(4,3) / (A(4,3) + x) * y + A(3,4) * 1400 * A(3,3) / (A(3,3) + x) * y) / 2 - A(3,4) * 1400 * A(3,3) / (A(3,3) + x) * y  - A(4,6)) ^ 2 + (A(5,4) * 1400 * A(5,3) / (A(5,3) + x) * y + 8 /1400 * (A(5,4) * 1400 * A(5,3) / (A(5,3) + x) * y + A(4,4) * 1400 * A(4,3) / (A(4,3) + x) * y) / 2 - A(4,4) * 1400 * A(4,3) / (A(4,3) + x) * y - A(5,6)) ^ 2 

I want octave to find the x and y values that minimize f.  I looked in the octave manual under "optimization" and found several options, but could not figure out how to use them.

-Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]