solve symbolic eigenvalue problem

8 ビュー (過去 30 日間)
liad
liad 2025 年 2 月 3 日
編集済み: Torsten 2025 年 2 月 15 日
Hello everyone,
I have a system of linear equations in the following form: AX=BX
where matrix A is constructed from values of the parameter a,
and matrix B consists of eigenvalues.
Each eigenvalue solution should be dependent on a.
I want to find, for each eigenvalue, the smallest value and the corresponding aaa that satisfies it.
I attempted to solve this using the syms and eigs functions but was unsuccessful.
My main difficulty lies in defining symbolic parameters and then using them after solving for the eigenvalues.

回答 (1 件)

Torsten
Torsten 2025 年 2 月 3 日
編集済み: Torsten 2025 年 2 月 3 日
If you want an analytical expression for the eigenvalues dependent on the parameter a, your matrix A must have dimension <= 4.
syms a
A = [a a^2;2 exp(a)];
eig(A)
ans = 
  6 件のコメント
liad
liad 2025 年 2 月 15 日
Thank you for your response.
So I have a problem because I have a sixth order differential equation that looks in matrix form Ax=Bx. When matrix A depends on some parameter. And matrix B can be defined as the matrix of the eigenvalues. I solve the equation using finite elements so I need about 100 equations to get good accuracy. The thought was to solve it like an eigenvalue problem, but my matlab only manages to calculate 20 x 20 at most. Is there any way to solve the system? Maybe not through eigenvalues?
Torsten
Torsten 2025 年 2 月 15 日
編集済み: Torsten 2025 年 2 月 15 日
Just out of curiosity:
Why do you get a matrix A depending on a parameter if you discretize a differential equation ?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by