Matlab Minimization of a obj function using specific values for the variables x

Joined
11/4/10
Messages
1
Points
11
I would like to help me find what category of matlab tutorial i have to read in order to
use matlab for optimization (minimization). I should use Matlab or my case is for other program (if yes which one ?)

(I dont know math english well so i dont know words to search in google )
(i mean is this optimization nonlinear with certain data set? (random words in my mid))

From simulation i have some results for x and f(x)
x => f(x)
1 =>5
3 =>3
6 =>1

I want to minizime the next obj function
obj fuction
g= f(x(1)) + f(x(2)) +f(x(3)) +f(x(4)) +f(x(5))

with constraints:
x(1)+x(2)+x(3)+x(4)+x(5)<=10
and
x(1)<=x(2)<=x(3)<=x(4)<=x(5)

so the matlab returns something like:
x(1)=1
x(2)=1
x(3)=1
x(4)=3
x(5)=6
 
Back
Top Bottom