"S" wrote in message <j8931i$sep$1@newscl01ah.mathworks.com>...
> "pietro " <bracardi82@email.it> wrote in message <j88t5s$82e$1@newscl01ah.mathworks.com>...
> > "S" wrote in message <j88pr7$rg3$1@newscl01ah.mathworks.com>...
> > > Hi,
> > >
> > > I have 2 equations:
> > > max... S = ( (j) / (j + 0.5*w) )^2 [Eqn 1]
> > > min... x = (const) * (j / w) [Eqn 2]
> > >
> > > I would like to find j and w when: S is a maximum and x is a minimum.
> > >
> > > I have 2 equations, with 4 unknowns: S,x,j,w.
> > >
> > > Are there any matlab algorithms (perhaps in the optimization toolbox) that will let me do this?
> > >
> > > w and j are bounded:
> > > 1e6 < w < 1e3
> > > 10e6 < j < 1e3
> > >
> > > S and x are bounded:
> > > 0 <= S <= 1
> > > 0 < x <= 10
> > >
> > > *Note: the bounds are just a rough estimate.
> > >
> > > Any ideas?
> >
> > Hi,
> >
> > you can change your problem in this way:
> > min... S =1* ( (j) / (j + 0.5*w) )^2 [Eqn 1]
> > min... x = (const) * (j / w) [Eqn 2]
> >
> > and then use a multiobjective routine. As alternative you can search the min of S+x.
> >
> > Best regards
> >
> > Pietro
>
> Thanks for the reply and help.
>
> Any particular function you recommend?
fmincon, look at the manual!
Pietro
