How to find matrix S, given by this equation
Mostrar comentarios más antiguos
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 comentario
Bruno Luong
el 24 de Abr. de 2022
L must have rank<n Do we know something else, such a is L Hermitian? Same question for J.
Respuesta aceptada
Más respuestas (2)
Torsten
el 24 de Abr. de 2022
0 votos
L is NxN and 0_(N-1) is (N-1)x1 ? J_delta is a full (N-1)x(N-1) matrix ?
Then use the eigenvector corresponding to the eigenvalue 0 of L to build S.
Sam Chak
el 24 de Abr. de 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
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!