Why are the results calculated from the function "fmincon" not stable?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hallo everbody,
Recently I am doing the fit about burning velocity of fuels, which is one of the most important properties in the combustion field. The approximation formula is as follwed:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166518/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166519/image.png)
In this formular there are six coefficients, namely F,m,G,n,E,B. And the variables: p,Y,Tu,Tb are already given.
Then I use the mathematic function "fmincon" to calculate these six coefficients. I have set the initail coefficients value and the highst and lowest coefficients value. But the results calculated are not stable. The coefficients value are always changed.
I do not know where the problem is.
댓글 수: 1
Matt J
2017년 8월 4일
Are m and n supposed to be integers? FMINCON will not restrict its search to integers. You would need ga() for that.
답변 (1개)
Anthony
2017년 8월 4일
to my understanding, all fmin*** functions are for local minimum only. If your function has multiple local minimizers, then the solution will depend on the initial condition.
참고 항목
카테고리
Help Center 및 File Exchange에서 Engines & Motors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!