Borrar filtros
Borrar filtros

finding Optimum point among many points

2 visualizaciones (últimos 30 días)
praveen
praveen el 9 de En. de 2018
Comentada: praveen el 12 de En. de 2018
I have 8 set of measurement data from a current sensor with differing values of current. I fitted them to a equation and found 8 solution (using fmincon) to corresponding data set. Now I want to combine these 8 solutions and merge them into one solution(for all current values). I can understand that the fit level for the resulting solution may be less but how to find the final best solution that can fit all my 8 data set?
Is there any other way to find an optimum point for the 8 data set directly? i.e fitting an equation to 8 dataset directly...
  2 comentarios
Alan Weiss
Alan Weiss el 9 de En. de 2018
Editada: Alan Weiss el 9 de En. de 2018
I am not sure that I understand you. Are you looking for the point that makes the smallest total error for the 8 data sets? I mean, the total error is the sum of all the squared residuals.
If you mean something else, please state exactly what you are looking for, maybe in an equation.
Alan Weiss
MATLAB mathematical toolbox documentation
praveen
praveen el 10 de En. de 2018
Yes what you said is correct i want very less sum of error for all data sets combined.

Iniciar sesión para comentar.

Respuestas (1)

Alan Weiss
Alan Weiss el 10 de En. de 2018
If I understand you correctly, you are looking for a least-squares solution for a nonlinear model. Most likely, lsqnonlin or lsqcurvefit would solve your problem. See, for example, Nonlinear Curve Fitting with lsqcurvefit.
Alan Weiss
MATLAB mathematical toolbox documentation

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by