how to find optimize value with two variables

조회 수: 1 (최근 30일)
bhan stokes
bhan stokes 2017년 7월 18일
답변: dbmn 2017년 7월 18일
i  have an objective function j where  j=x+1/y; and x and y are calculated for different values of dd such that dd=.5:.015:.20 i need to apply steepest ascent method to speed up the process  can u please help how can i do this  
  댓글 수: 1
Rik
Rik 2017년 7월 18일
Is this a fitting problem? If so, why not use the fit function? If not, have a read here and here. It will greatly improve your chances of getting an answer.

댓글을 달려면 로그인하십시오.

답변 (1개)

dbmn
dbmn 2017년 7월 18일
If I understand correctly, you have:
x = f(dd);
y = g(dd);
j = f(dd) + 1/g(dd) = h(dd);
which is a one dimensional optimization problem. Check out fminsearch or fminbnd or simply write the steepest descent algorithm by yourself (ascend = -1*descent).
or are just certain values for dd to be used? Is y, x, freely chosable? more info needed.

카테고리

Help CenterFile Exchange에서 Optimization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by