Effacer les filtres
Effacer les filtres

finding Optimum point among many points

2 vues (au cours des 30 derniers jours)
praveen
praveen le 9 Jan 2018
Commenté : praveen le 12 Jan 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 commentaires
Alan Weiss
Alan Weiss le 9 Jan 2018
Modifié(e) : Alan Weiss le 9 Jan 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 le 10 Jan 2018
Yes what you said is correct i want very less sum of error for all data sets combined.

Connectez-vous pour commenter.

Réponses (1)

Alan Weiss
Alan Weiss le 10 Jan 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

Community Treasure Hunt

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

Start Hunting!

Translated by