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