Azzera filtri
Azzera filtri

maximising with dynamic parameters

3 visualizzazioni (ultimi 30 giorni)
econgrad
econgrad il 1 Ago 2013
The function I have looks like this: ln(1+a*x1+b*x2). I need to maximise this with respect to x1 and x2 but for each choice of x1 and x2 the values of a and b would also change. For example if x1=1 and x2=2 then a=2 and b=3 , x1=2 and x2=2 then a=1 and b=4 and so on. Please suggest if this can be done and how it can be approached.
  2 Commenti
Roger Stafford
Roger Stafford il 2 Ago 2013
You wrote "and so on" way too soon. You need to explain the relationship between the x1,x2 pair values and the corresponding a,b pair values in much greater detail before any useful advice can be given as to how to maximize your function value.
econgrad
econgrad il 11 Ago 2013
thank you so much for your reply and sorry for being late. let me give you the detail description: a and b are implicit functions i.e. a=a(x1,x2,c1,c2) and b=b(x1,x2,c1,c2). When x1 and x2 changes, c1 and c2 would also change and that change has to obtained by finding the fixed points of a(x1,x2,c1,c2) and b(x1,x2,c1,c2). After finding the new c1,c2 by fixed point iteration, I get a new a(x1,x2,c1,c2) & b(x1,x2,c1,c2).

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by