in the picture below you can find a message which describe what I need to fix in these two equations in the description.
1 view (last 30 days)
Swetha Polemoni on 26 Jul 2021
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.