Matrix square root and Cholesky factorization
显示 更早的评论
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 个评论
Torsten
2022-5-9
What do you want to hold ?
If you want S'*S = M, use chol(M), if you want S*S=M, use sqrtm(M).
Andrea Tantucci
2022-5-9
Torsten
2022-5-9
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
2022-5-9
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Spline Postprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!