Knowing the matrix B, how can I solve for the square matrix A in A*A'=B using MATLAB

1 个评论

Hi Seyed, Not every matrix has such a decomposition, for example [0 1; 1 0] but the first thing to look at would be the cholesky decomposition. If B qualifies, then chol(B) will give you a result. Note that ' is complex conjugate transpose.

请先登录,再进行评论。

 采纳的回答

You cannot. Well, there are infinitely many equally valid solutions. So you can. There just is no unique solution.
In fact, there is one classic solution, that every student of linear algebra 101 should have learned.
help chol
With just a tiny bit of creativity on your part, you can even get a different solution from eig. (THINK ABOUT IT!)
Of course, ANY solution, if any does exist, will require that B is symmetric positive semi-definite.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by