weighted least square fit

I have a set of data points. I want to fit a straight line so that the least square error is minimized. But different points have different weighting factors. Is there any built-in function for doing this?
-saima

 Akzeptierte Antwort

Matt J
Matt J am 3 Mär. 2013

0 Stimmen

Yes. There is LSCOV.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 3 Mär. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by