in the picture below you can find a message which describe what I need to fix in these two equations in the description.
3 views (last 30 days)
Show older comments
Matthew Worker
on 22 Jul 2021
Commented: Rena Berman
on 16 Dec 2021
Theta_opt = inv(A + diag(zeta))*b;
2 Comments
Image Analyst
on 15 Dec 2021
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;
Accepted Answer
Swetha Polemoni
on 26 Jul 2021
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!