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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Axis Labels 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by