how to write such that in matlab

3 次查看(过去 30 天)
birunda
birunda 2012-11-7
if the equation is determined with respect to some criterias, how i have to write codings in matlab
for eg:
Min α∑_i▒〖a xi+β∑_i▒〖fi(v)(1-xi)〗〗 such that ( (p_i τ_1)⁄(1+ p_i τ_1)xi ≤) 10^-θ_1 i € TC ((u_i τ_2)⁄(1+u_i τ_2)) (1-xi) ≤ 10^-θ_2 i € BC
  2 个评论
José-Luis
José-Luis 2012-11-7
What have you done so far? People will be more willing to help you if you make some effort yourself.
Jan
Jan 2012-11-7
I cannot read the question. I get some symbols looking like a pile of spaghetti after the "Sigma_i". Then a kind of double brackets follow. Later on there is a Euro-character and a "xi <= )", which is no valid syntax in any computer or math language I know.
Please, birunda, could you post the equation less tricky?

请先登录,再进行评论。

回答(1 个)

Harshit
Harshit 2012-11-7
You have to use lagrange multiplier. You can easily understand it from here http://en.wikipedia.org/wiki/Lagrange_multiplier and there is an inbuilt function for it.
Regards,
Harshit

标签

Community Treasure Hunt

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

Start Hunting!

Translated by