Why are the results calculated from the function "fmincon" not stable?
1 次查看(过去 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!