Optimization involving complex variable.
9 views (last 30 days)
Show older comments
Let A be a matrix with complex eigen values. I need to find a matrix B such that the eigen values of matrix B are equal to the eigen values of matrix A (Matrix A and B are similar matrices). The objective function can be written as,
B^=arg min_B { norm( eig(A)-eig(B) ) ^2}
I would like to know if there are any optimization techniques to solve this type of objective functions involving complex variables.
0 Comments
Answers (2)
John D'Errico
on 19 Dec 2023
Edited: John D'Errico
on 19 Dec 2023
If you just need to find a new matrx B, then there is ABSOLUTELY NO reason to use optimization techniques!
A is assumed to be a matrix with complex eigenvalues. This will suffice:
A = randn(3) + i*randn(3)
eig(A)
Now, what is a similar matrix? Two matrices A and B are similar, If we can employ a similarity transformation between them. A similarity transformation is of the form
B = P*A*P^-1
Clearly, if the non-singular matrix P is some general orthogonal matrix, then it won't change the rank of A, it won't change the determinant, it won't change the eigenvalues.
So all you need to do is choose some random orthogonal matrix. (That wil allow you to construct B directly. NO OPTIMIZATION NEEDED!)
HINT: Can ORTH help you here? What would happen if you applied orth to some random matrix? That A happens to be complex and has complex eigenvalues is irrelevant.
Sorry. I won't do what clearly seems to be homework. As it is, I've already given you all the hint you need.
0 Comments
Torsten
on 19 Dec 2023
Moved: Torsten
on 19 Dec 2023
No more characteristics of B ? Only the same eigenvalues ? Why don't you simply diagonalize A and take the diagonal matrix as B ?
7 Comments
Torsten
on 20 Dec 2023
Edited: Torsten
on 20 Dec 2023
If D is unknown, what's the advantage of your approach ? Don't you think setting B = inv(P)*diag(eig(A))*P is much more natural (although I can't believe it will be easy to derive a complete unknown matrix from an optimization) ?
Maybe you should tell us the whole story because I think your question is related to
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!