Why are the results calculated from the function "fmincon" not stable?
2 views (last 30 days)
Show older comments
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 Comment
Matt J
on 4 Aug 2017
Are m and n supposed to be integers? FMINCON will not restrict its search to integers. You would need ga() for that.
Answers (1)
Anthony
on 4 Aug 2017
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.
See Also
Categories
Find more on Engines & Motors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!