How to find matrix S, given by this equation
Mostra commenti meno recenti
I have matrix L and the right-hand side of equation below.
How can I get matrix S?
All the matrices are square matrix.

1 Commento
Bruno Luong
il 24 Apr 2022
L must have rank<n Do we know something else, such a is L Hermitian? Same question for J.
Risposta accettata
Più risposte (2)
Sam Chak
il 24 Apr 2022
@NA, thanks for your clarification on the dimensions.
Is this some kind of a Linear Algebra problem?
It seems that the square matrix L is unique, and has to satisfy certain conditions.
For example, say the matrix
is given by
L = [0 1 0; 0 0 1; 0 -6 -5]
L =
0 1 0
0 0 1
0 -6 -5
Then, the eigenvalues of matrix
are
s = eig(L)
s =
0
-2.0000
-3.0000
Next, the matrix
is constructed from the eigenvalues such that
S = [1 1 1; s(1) s(2) s(3); s(1)^2 s(2)^2 s(3)^2]
S =
1.0000 1.0000 1.0000
0 -2.0000 -3.0000
0 4.0000 9.0000
Finally, we can test if
is a diagonal matrix where the diagonal elements are the eigenvalues of matrix
:
D = S\L*S
D =
0 0.0000 0.0000
0 -2.0000 -0.0000
0 0.0000 -3.0000
Only a centain square matrix
can produce such diagonal matrix. For example:
L = [0 1 0; 0 0 1; 0 -15 -8]
L =
0 1 0
0 0 1
0 -15 -8
Categorie
Scopri di più su Linear Algebra in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!