Computing eigenvalues and eigenvectors of two symbolic matrices

9 views (last 30 days)
Hello all,
How could I compute the generalized eigenvalues and eigenvectors of (A,B) matrices using MATLAB if both of them are symbolic?
[V,D] = eig(B,A);
where A & B are (5x5)
  3 Comments
Torsten
Torsten on 16 Mar 2024
Edited: Torsten on 16 Mar 2024
Not possible.
The symbolic eigenvalue computation is limited to the roots of polynomials of degree <= 4. The reason is that for polynomials of degree > 4, there is no explicit solution formula for their roots - only in special cases.

Sign in to comment.

Answers (1)

Christine Tobler
Christine Tobler on 18 Mar 2024
eig does not support the two-input syntax for symbolic. For the call eig(B, A), if A is invertible you can instead solve eig(A\B).
About the matrix size of the input, you can call eig for sizes greater than 4, although this will not have an explicit solution outside of special cases.

Community Treasure Hunt

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

Start Hunting!