in the picture below you can find a message which describe what I need to fix in these two equations in the description.

3 ビュー (過去 30 日間)
Theta_opt = inv(A + diag(zeta))*b;
  2 件のコメント
Image Analyst
Image Analyst 2021 年 12 月 15 日
Original question, so you can see it after he deletes it.
in the picture below you can find a message which describe what I need to fix in these two equations in the description.
Theta_opt = inv(A + diag(zeta))*b;

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

採用された回答

Swetha Polemoni
Swetha Polemoni 2021 年 7 月 26 日
Hi
As the warning clearly mentioned, try replacing inv(A + diag(zeta))*b with b/ inv(A + diag(zeta)). Because in Matlab inv(A)*b and b/A are computed differently and b/A has performance benefits over inv(A)*b. You can find it in the following link.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by