data fitting with multiple independent variables

18 visualizaciones (últimos 30 días)
Daniele Sonaglioni
Daniele Sonaglioni el 9 de En. de 2024
Respondida: the cyclist el 9 de En. de 2024
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 comentarios
Matt J
Matt J el 9 de En. de 2024
Editada: Matt J el 9 de En. de 2024
@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 el 9 de En. de 2024
Editada: Torsten el 9 de En. de 2024
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 ?

Iniciar sesión para comentar.

Respuestas (2)

William Rose
William Rose el 9 de En. de 2024
Editada: William Rose el 9 de En. de 2024
[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 el 9 de En. de 2024
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.

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by