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

1 visualización (últimos 30 días)
Theta_opt = inv(A + diag(zeta))*b;
  2 comentarios
Image Analyst
Image Analyst el 15 de Dic. de 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;

Iniciar sesión para comentar.

Respuesta aceptada

Swetha Polemoni
Swetha Polemoni el 26 de Jul. de 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.

Más respuestas (0)

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by