Matrix square root and Cholesky factorization

18 visualizaciones (últimos 30 días)
Andrea Tantucci
Andrea Tantucci el 9 de Mayo de 2022
Comentada: Andrea Tantucci el 9 de Mayo de 2022
Hello i would like to find the square root of a symmetric and positive definite matrix. If i use chol (Cholesky factorization), the upper triangular matrix can be used as the original matrix square root or i need to do some more passages?
Thanks in advance
  4 comentarios
Torsten
Torsten el 9 de Mayo de 2022
The usual square root S of a matrix M is a matrix with S*S=M, and you get this S via S = sqrtm(M).
If you want to define a matrix S with S'*S = M as the square root of M, you can do this. Then S = chol(M).
It's your decision.
Andrea Tantucci
Andrea Tantucci el 9 de Mayo de 2022
Ok i understand, thank you very much

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Spline Postprocessing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by