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
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
Andrea Tantucci 2022 年 5 月 9 日
What i want to know is if S s.t. S'S = M, can be used as the square root of the matrix M, since i've red a lot of stuff on the internet and i didn't really understand
Torsten
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
Andrea Tantucci 2022 年 5 月 9 日
Ok i understand, thank you very much

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSpline Postprocessing についてさらに検索

製品

リリース

R2022a

タグ

質問済み:

2022 年 5 月 9 日

コメント済み:

2022 年 5 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by