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;
  댓글 수: 2

댓글을 달려면 로그인하십시오.

채택된 답변

Swetha Polemoni
Swetha Polemoni 2021년 7월 26일
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개)


Find more on Get Started with MATLAB in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by