how to get "Optimization toolbox" in Matlab?

3 Ansichten (letzte 30 Tage)
Dalim Paul
Dalim Paul am 5 Okt. 2015
Beantwortet: John D'Errico am 5 Okt. 2015
I am running a code to create mastercurves that will cover a wide range of asphalt properties for different time and temperature. But It is showing an error message (please see below). Apparently we need to have “Optimistion Toolbox” in the Matlab. But our university have the basic package that is for Educational purpose only. i) Can you please help me in telling me bit more on this toolbox (e.g., how to get it)? ii) is it possible to perform similar function as 'fminunc' within the basic MATLAB package? Thanks very much for your time. Eagerly waiting to hear on this. Cheers
Here is the error message:
To use 'fminunc', you might need: fminunc - Optimization Toolbox
Error in Maincode (line 44) [x,fval] = fminunc('At',x0,options);

Antworten (1)

John D'Errico
John D'Errico am 5 Okt. 2015
Well, yes, and no, and ... maybe.
Yes, you (in this case, your school) can buy the optimization toolbox. This is the only way you can get fminunc.
If not, then you can try to use fminsearch. It is part of MATLAB with no toolbox required. It is often acceptable, IF you have less than about 6 to 8 unknowns. More than that and you will rarely be happy.
You can also look for tools on the file exchange. Sadly, most of the basic optimization tools are VERY limited in quality. Most of them are student's homework assignments, and very low quality. But if you look assiduously, you can probably find something there.

Community Treasure Hunt

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

Start Hunting!

Translated by