# Eigenvalues and Eigenvectors of Symbolic Matrix

18 ビュー (過去 30 日間)
SHUBHAM PATEL 2019 年 12 月 3 日

I have a symbolic matrix of which I want to get Eigenvalues and Eigenvectors. I want Eigenvalues and Eigenvectors in symbolic form.
syms E t
H = [E -t -t -t -t 0 0 0 0;-t E 0 0 0 -t -t 0 0;-t 0 E 0 0 0 0 -t -t;-t 0 0 E 0 -t 0 -t 0; -t 0 0 0 E 0 -t 0 -t; 0 -t 0 -t 0 E 0 0 0; 0 -t 0 0 -t 0 E 0 0; 0 0 -t -t 0 0 0 E 0; 0 0 -t 0 -t 0 0 0 E];
eig(H);

#### 0 件のコメント

サインイン to comment.

### 採用された回答

Stephan 2019 年 12 月 4 日
syms E t
H = [E -t -t -t -t 0 0 0 0;-t E 0 0 0 -t -t 0 0;-t 0 E 0 0 0 0 -t -t;...
-t 0 0 E 0 -t 0 -t 0; -t 0 0 0 E 0 -t 0 -t; 0 -t 0 -t 0 E 0 0 0;...
0 -t 0 0 -t 0 E 0 0; 0 0 -t -t 0 0 0 E 0; 0 0 -t 0 -t 0 0 0 E];
[V,D] = eig(H)
gives:
V =
[ 0, -1, -1, 0, 0, 0, 0, 2, 2]
[ -1, 0, 0, (E + 2^(1/2)*t)/(2*t) - E/(2*t), (E + 2^(1/2)*t)/(2*t) - E/(2*t), (E - 2^(1/2)*t)/(2*t) - E/(2*t), (E - 2^(1/2)*t)/(2*t) - E/(2*t), E/(2*t) - (E - 2*2^(1/2)*t)/(2*t), E/(2*t) - (E + 2*2^(1/2)*t)/(2*t)]
[ -1, 0, 0, E/(2*t) - (E + 2^(1/2)*t)/(2*t), E/(2*t) - (E + 2^(1/2)*t)/(2*t), E/(2*t) - (E - 2^(1/2)*t)/(2*t), E/(2*t) - (E - 2^(1/2)*t)/(2*t), E/(2*t) - (E - 2*2^(1/2)*t)/(2*t), E/(2*t) - (E + 2*2^(1/2)*t)/(2*t)]
[ 1, 0, 0, E/(2*t) - (E + 2^(1/2)*t)/(2*t), (E + 2^(1/2)*t)/(2*t) - E/(2*t), E/(2*t) - (E - 2^(1/2)*t)/(2*t), (E - 2^(1/2)*t)/(2*t) - E/(2*t), E/(2*t) - (E - 2*2^(1/2)*t)/(2*t), E/(2*t) - (E + 2*2^(1/2)*t)/(2*t)]
[ 1, 0, 0, (E + 2^(1/2)*t)/(2*t) - E/(2*t), E/(2*t) - (E + 2^(1/2)*t)/(2*t), (E - 2^(1/2)*t)/(2*t) - E/(2*t), E/(2*t) - (E - 2^(1/2)*t)/(2*t), E/(2*t) - (E - 2*2^(1/2)*t)/(2*t), E/(2*t) - (E + 2*2^(1/2)*t)/(2*t)]
[ 0, 0, 1, 0, -1, 0, -1, 1, 1]
[ 0, 1, 0, -1, 0, -1, 0, 1, 1]
[ 0, 1, 0, 1, 0, 1, 0, 1, 1]
[ 0, 0, 1, 0, 1, 0, 1, 1, 1]
D =
[ E, 0, 0, 0, 0, 0, 0, 0, 0]
[ 0, E, 0, 0, 0, 0, 0, 0, 0]
[ 0, 0, E, 0, 0, 0, 0, 0, 0]
[ 0, 0, 0, E + 2^(1/2)*t, 0, 0, 0, 0, 0]
[ 0, 0, 0, 0, E + 2^(1/2)*t, 0, 0, 0, 0]
[ 0, 0, 0, 0, 0, E - 2^(1/2)*t, 0, 0, 0]
[ 0, 0, 0, 0, 0, 0, E - 2^(1/2)*t, 0, 0]
[ 0, 0, 0, 0, 0, 0, 0, E - 2*2^(1/2)*t, 0]
[ 0, 0, 0, 0, 0, 0, 0, 0, E + 2*2^(1/2)*t]
See documentation for eig also in its symbolic version.

#### 0 件のコメント

サインイン to comment.

### その他の回答 (0 件)

サインイン してこの質問に回答します。

Translated by