weighted least square fit

2 vues (au cours des 30 derniers jours)
saima
saima le 3 Mar 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

Réponse acceptée

Matt J
Matt J le 3 Mar 2013
Yes. There is LSCOV.

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by