Is there a function that transforms a symmetric matrix into a diagonal of Eigenvalues with transforms on either side?
2 ビュー (過去 30 日間)
古いコメントを表示
I want a function that transforms a symmetric Matrix A into LDL' but not unit vectors as in the ldl(A) Matlab function but with the diagonal as Eigenvalues and the L matrices as transformation matrices to the new Eigenbasis for the system.
I'm sure this is not difficult or has been done already I just wondered why it wasn't in the help menus.
Thanks,
Matt
0 件のコメント
回答 (1 件)
Torsten
2022 年 7 月 18 日
If this is not what you want, please tell us what you want.
A = [3 7;7 4];
[V,D] = eig(A)
V*D*V.'
参考
カテゴリ
Help Center および File Exchange で Linear Algebra についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!