nonlinear curve-fitting: weight vector

조회 수: 2 (최근 30일)
anna
anna 2012년 2월 21일
편집: Tom Lane 2018년 1월 22일
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?

채택된 답변

Richard Willey
Richard Willey 2012년 2월 21일
nlinfit in Statistics Toolbox
  1. Uses Levenberg-Marquardt under the hood
  2. Allows you to input a vector of weights
  댓글 수: 2
Tom Lane
Tom Lane 2012년 2월 21일
편집: Tom Lane 2018년 1월 22일
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 2012년 2월 22일
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”.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by