nonlinear curve-fitting: weight vector

2 Ansichten (letzte 30 Tage)
anna
anna am 21 Feb. 2012
Bearbeitet: Tom Lane am 22 Jan. 2018
hi I am working on a multiobjective procedure using the 'lsqcurvefit' (Levenberg-Marquardt algorithm): I would like to use a weight vector during risolution of the best fit in order to force the best fit function following the last inputs in a better way instead of the first ones. How can I?

Akzeptierte Antwort

Richard Willey
Richard Willey am 21 Feb. 2012
nlinfit in Statistics Toolbox
  1. Uses Levenberg-Marquardt under the hood
  2. Allows you to input a vector of weights
  2 Kommentare
Tom Lane
Tom Lane am 21 Feb. 2012
Bearbeitet: Tom Lane am 22 Jan. 2018
The use of weights is actually not supported directly in nlinfit, but there is a demo about how to do that. You might use the same technique with lsqcurvefit if you prefer.
anna
anna am 22 Feb. 2012
Dear guys,
many many thanks for your reply.
It works perfectly!!!
I have modified my script by using the same technique reported in the last link for the “nlinfit”.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by