Non linear regression: Matlab function similar to Excel solver ???

조회 수: 32 (최근 30일)
Vignesh Waran
Vignesh Waran 2021년 10월 19일
답변: Sulaymon Eshkabilov 2021년 10월 19일
Hi,
I am having experimental data values i.e (Actual data & modelled data)
I want to match modelled data to my actual data.
Modelled data is function of a variable 'P'
Value of 'P' comes from 2D map. Ultimate goal is to obtain optimized 2D map.
I know to optimize this data in Excel solver where it uses GRG non linear function.
How to carryout this in MATLAB?

답변 (2개)

the cyclist
the cyclist 2021년 10월 19일
This very old question/answer from the Mathworks Support Team indicates that there is no MATLAB function for the generalized reduced gradient method, and suggests fmincon from the Optimization Toolbox as an alternative.

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 10월 19일
MATLAB's fitnlm() builtin function works for nonlinear regression analysis in your exercise you can use it. See this help documentation how to employ fitnlm(): https://www.mathworks.com/help/stats/nonlinear-regression-1.html

Community Treasure Hunt

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

Start Hunting!

Translated by