fmincon, quadprog or other

조회 수: 2 (최근 30일)
Orongo
Orongo 2018년 2월 16일
답변: Torsten 2018년 2월 16일
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!

답변 (1개)

Torsten
Torsten 2018년 2월 16일
Use "lsqcurvefit".
Best wishes
Torsten.

카테고리

Help CenterFile Exchange에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by