weighted least square fit

1 visualización (últimos 30 días)
saima
saima el 3 de Mzo. de 2013
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

Respuesta aceptada

Matt J
Matt J el 3 de Mzo. de 2013
Yes. There is LSCOV.

Más respuestas (0)

Categorías

Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by