Got Questions? Get Answers.
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:
EXHAUSTIVE SEARCH with Matlab

Subject: EXHAUSTIVE SEARCH with Matlab

From: luan HAKAJ

Date: 28 Jun, 2012 14:36:08

Message: 1 of 4

Hello All,
I have one problem in Matlba. I have to use exhaustive search o find the maximum value of one function under some constraints. Here i have to find which is the maximum value of this function, considering the parameters that this function is dependent from, will take continuous values, so we have 3 parameters (x, y and z) and one function that is dependent on these parameters. How to find maximum value of this function
f(x,y,z)=(1-exp(-x))/(1-exp3)*)=(1-exp(-y))/(1-exp3)*)=(1-exp(-z))/(1-exp3)
The values for x, y and z are continous in this region:
x (0,xmax)
y(0,ymax) and
z(zmin, Infinit)

Or, you can just tell me aproximately what to do, i will really appreciate this help.
Luki

Thanks in advance

Subject: EXHAUSTIVE SEARCH with Matlab

From: Greg Heath

Date: 29 Jun, 2012 17:42:07

Message: 2 of 4

"luan HAKAJ" <LUAN.HAKAJ@GMAIL.COM> wrote in message <jshq4n$gh1$1@newscl01ah.mathworks.com>...
> Hello All,
> I have one problem in Matlba. I have to use exhaustive search o find the maximum value of one function under some constraints. Here i have to find which is the maximum value of this function, considering the parameters that this function is dependent from, will take continuous values, so we have 3 parameters (x, y and z) and one function that is dependent on these parameters. How to find maximum value of this function
> f(x,y,z)=(1-exp(-x))/(1-exp3)*)=(1-exp(-y))/(1-exp3)*)=(1-exp(-z))/(1-exp3)

???

Do you mean

f(x,y,z)=(1-exp(-x))/(1-exp3)*(1-exp(-y))/(1-exp3)*(1-exp(-z))/(1-exp3)

which is monotonically increasing in all variables?

Greg

Subject: EXHAUSTIVE SEARCH with Matlab

From: luan HAKAJ

Date: 29 Jun, 2012 20:40:12

Message: 3 of 4

Hello, first thank ypu very much for writing me. Yes, the function should be monotonically increasing in all variables.

Thank you very much,Waiting for your help!


"Greg Heath" <heath@alumni.brown.edu> wrote in message <jskpdf$hv6$1@newscl01ah.mathworks.com>...
> "luan HAKAJ" <LUAN.HAKAJ@GMAIL.COM> wrote in message <jshq4n$gh1$1@newscl01ah.mathworks.com>...
> > Hello All,
> > I have one problem in Matlba. I have to use exhaustive search o find the maximum value of one function under some constraints. Here i have to find which is the maximum value of this function, considering the parameters that this function is dependent from, will take continuous values, so we have 3 parameters (x, y and z) and one function that is dependent on these parameters. How to find maximum value of this function
> > f(x,y,z)=(1-exp(-x))/(1-exp3)*)=(1-exp(-y))/(1-exp3)*)=(1-exp(-z))/(1-exp3)
>
> ???
>
> Do you mean
>
> f(x,y,z)=(1-exp(-x))/(1-exp3)*(1-exp(-y))/(1-exp3)*(1-exp(-z))/(1-exp3)
>
> which is monotonically increasing in all variables?
>
> Greg

Subject: EXHAUSTIVE SEARCH with Matlab

From: Greg Heath

Date: 30 Jun, 2012 17:57:09

Message: 4 of 4

"luan HAKAJ" <LUAN.HAKAJ@GMAIL.COM> wrote in message <jsl3rc$19h$1@newscl01ah.mathworks.com>...
> Hello, first thank ypu very much for writing me. Yes, the function should be monotonically increasing in all variables.
>
> Thank you very much,Waiting for your help!

Why?

If f is monotonically increasing in all variables,

fmax =f(xmax,ymax,zmax)

Or ... am I missing something?

Hope this helps.

Greg

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