Set parameterlimits while fitting with fminsearch

조회 수: 1 (최근 30일)
Venja Schoenke
Venja Schoenke 2019년 10월 21일
댓글: Matt J 2019년 10월 22일
Hello, I have a function with which I have estimated the parameters for two linked differential equations. I minimize with fminsearch the quadratic errors between original data and function data. However, I have now extended/changed my differential equation, so that the fit spits out no more justifiable values. Therefore, I would like to know if there is a possibility to determine an area in which the parameter must be located. I hope someone knows a solution

채택된 답변

Matt J
Matt J 2019년 10월 21일
편집: Matt J 2019년 10월 21일
Here is a fairly popular version of fminsearch that lets you apply constraints
I haven't had the occasion to use it myself, though.
  댓글 수: 2
Venja Schoenke
Venja Schoenke 2019년 10월 22일
thank you, that helped a lot
Matt J
Matt J 2019년 10월 22일
You're welcome, but please Accept-click the answer if you consider your question resolved.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by