data fitting with multiple independent variables
19 次查看(过去 30 天)
显示 更早的评论
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
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
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
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.
0 个评论
the cyclist
2024-1-9
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.
0 个评论
另请参阅
类别
在 Help Center 和 File 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!