fmincon, quadprog or other

2 Ansichten (letzte 30 Tage)
Orongo
Orongo am 16 Feb. 2018
Beantwortet: Torsten am 16 Feb. 2018
Hi, I want to minimize (B-MU)^2, where B is a vector of length 106 (ages x=1 to x=106) and MU is expressed as below equation. By minimizing I want to find optimal a, b and c. How can I do this? Should I use fmincon, quadprog or other function? Any advise is much appreciated. Thanks!

Antworten (1)

Torsten
Torsten am 16 Feb. 2018
Use "lsqcurvefit".
Best wishes
Torsten.

Kategorien

Mehr zu Quadratic Programming and Cone Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by