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

 채택된 답변

Matt J
Matt J 2013년 3월 3일

0 개 추천

Yes. There is LSCOV.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

질문:

2013년 3월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by