Set parameterlimits while fitting with fminsearch

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 日

1 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

質問済み:

2019 年 10 月 21 日

コメント済み:

2019 年 10 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by