필터 지우기
필터 지우기

Can Matlab be used to perform the optimization of a second order model to determine the optimum points?

조회 수: 1 (최근 30일)
I have a second order model with 4 variables and I plotted the surface plot of the response against 2 of the variables while keeping the other 2 fixed at their mid level. Is there a code to locate the stationary or turning point of the plot
  댓글 수: 2
John Petersen
John Petersen 2012년 11월 6일
Not real clear on your question. What do you mean by stationary or turning point of the plot?
Chimezie Umezie
Chimezie Umezie 2012년 11월 7일
Thank you for your comment.I mean to say the value(or coordinates) of the factors x1,x2,x3 and x4 that give the maximum(or minimum response). I used LinearModel.fit to fit the data to a full quadratic model.If you don't mind sending your email address I can send the M-file. I am a student of University of Aberdeen and I am writing my dissertation. I need help on this.
Thank you

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

채택된 답변

Alan Weiss
Alan Weiss 2012년 11월 7일
You can find a minimum of a function using fminsearch. If you have optimization Toolbox, use fminunc.
You can find a maximum by negating the function and then searching for a minimum (see Maximizing Functions).
To find a saddle point, you will need to do more work, and will need Optimization Toolbox. Find the gradient of the function (if you have Symbolic Math Toolbox, you can do this easily, as shown in this example). Then find the root of the gradient using fsolve.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by