フィルターのクリア

OLS estimator b=x\y?

16 ビュー (過去 30 日間)
TAEKYU EOM
TAEKYU EOM 2020 年 11 月 11 日
コメント済み: Star Strider 2020 年 11 月 11 日
Hi guys,
when x is n*2 vector and y is n*1 vector,
b=(x'*x)^(-1)*x'*y.
If I use the expression like
b=x\y,
both have same results.
What is difference between these two expressions?

採用された回答

Star Strider
Star Strider 2020 年 11 月 11 日
What is difference between these two expressions?
The way they are implemented in MATLAB. The documentation for mldivide,\ explains how it works (so I won’t go into that here), and the reason it is more stable and preferred over taking the inverse and multiplying.
  2 件のコメント
TAEKYU EOM
TAEKYU EOM 2020 年 11 月 11 日
Thanks for your comment!
Star Strider
Star Strider 2020 年 11 月 11 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by