weighted least square fit

2 ビュー (過去 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 Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by