Curve fitting while an unknown variable needs to be determined at each data point
Mostrar comentarios más antiguos
I am trying to perform curve fitting using MATLAB wherein the fitting function f(x,a1,C1,C2,C3...) consists of a set of parameters C1,C2,C3..., the independent variable x, and another variable a1.
The problem in my case is, the variable a1 needs to be determined along with the parameters C1,C2,C3..., but unlike the parameters, a1 needs to be different at each data point. I wonder how to estimate this variable a1 at each data point while also identifying the set of parameters during curve fitting.
I know the allowable range of this variable a1. But don't know how to implement such a program.
Presently, I am using the fmincon function by defining an objective function to be minimized in the least squares sense.
Kindly assist me in finding a way to approach this problem. Thanks!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!