weighted least square fit

1 次查看(过去 30 天)
saima
saima 2013-3-3
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

采纳的回答

Matt J
Matt J 2013-3-3
Yes. There is LSCOV.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by