data fitting with multiple independent variables

62 ビュー (過去 30 日間)
Daniele Sonaglioni
Daniele Sonaglioni 2024 年 1 月 9 日
回答済み: the cyclist 2024 年 1 月 9 日
Hi all,
I am trying to fit my experimental data with the socalled double well model. To be concise, i have several intensity profiles as a function of the distance from the detector for several temperatures and i want to fit all of them at the same time. Even though the double well model has only 5 independent parameters, by adopting this procedure I end with more than 100 fitting parameters.
I have tried to use GlobalSearch but I am not satisfied of the result: can anyone suggest me a more powerful algorithm?
Thanks to everyone.
  4 件のコメント
Matt J
Matt J 2024 年 1 月 9 日
編集済み: Matt J 2024 年 1 月 9 日
@Daniele Sonaglioni Your post is too exclusively text. We need to see a mathematical description of your fitting problem to understand why you think it is more difficult than standard fitting scenarios.
Torsten
Torsten 2024 年 1 月 9 日
編集済み: Torsten 2024 年 1 月 9 日
you are right, I forgot to say, but two of the five parameters are in common, whereas the other are temperature specific. Hence, I have two global parameter and three parameters are temperature dependent.
You should think about a new model that accounts for temperature-dependence, i.e. a model in which the variable T for temperature explicitly appears . It is against all modelling principles that for each temperature, you have three free parameters. What would be the purpose of such a model if new fitting is necessary once you have measurements for a new temperature ?

サインインしてコメントする。

回答 (2 件)

William Rose
William Rose 2024 年 1 月 9 日
編集済み: William Rose 2024 年 1 月 9 日
[edit: correct spelling error]
Your model includes two global parameters (p1, p2) and three parameters that depend on temperature (p3, p4, p5). If you have collected data at 40 different termperatures (and I assume you know the temperatures), then you may feel the need to estimate 2+3*40 parameters, which is too many.
Assume that p3, p4, p5 are functions of temperature. Maybe you have a theoretical relationship of each parameter to temperature. If not, then assume something, such as a linear or polynomial relationship. Then you only have to fit the parameters of those three functions. For example:
p3 = a3 + b3*T
p4 = a4 + b4*T
p5 = a5 + b5*T
Then you only have to fit 8 parameters (p1, p2, a3, b3, a4, b4, a5, b5), not 122 parameters, because you know the temperatures at which you collected the data. I have used this approach for published work.

the cyclist
the cyclist 2024 年 1 月 9 日
Your problem triggered a memory of this MATLAB example.
I think your temperature is analogous to the time in that example. I'm not certain that this technique is right for you, but perhaps worth a look.

カテゴリ

Help Center および File ExchangeGet 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