Current location - Education and Training Encyclopedia - Graduation thesis - I am writing a thesis, but I have never installed matlab. Can someone help me run this matrix to find the eigenvalue and post the source code to me?
I am writing a thesis, but I have never installed matlab. Can someone help me run this matrix to find the eigenvalue and post the source code to me?
a =[ 1 7 5 3; 1/7 1 1/4 1/3; 1/5 4 1 1; 1/3 3 1 1]% matrix a

A =

1.0000 7.0000 5.0000 3.0000

0. 1429 1.0000 0.2500 0.3333

0.2000 4.0000 1.0000 1.0000

0.3333 3.0000 1.0000 1.0000

& gt& gt[V,D]=eig(A)

V =% eigenvector

-0.9 173 -0.956 1 -0.956 1 -0.6677

-0.0940 0.0482+0.074 1i 0.0482-0.074 1i-0. 1 1 1

-0.2702 0. 1 184-0.2482 I 0. 1 184+0.2482 I-0. 147 1

-0.277 1 0.0282+0.04 10i 0.0282-0.04 10i 0.72 13

Diagonal matrix of d =% eigenvalue

4.0960 0 0 0

0 -0.0607 + 0.6266i 0 0

0 0 -0.0607 - 0.6266i 0

0 0 0 0.0254

So the eigenvalues of matrix A are 4.0960, -0.0607+0.6266i, -0.0607-0.6266i, 0.0254.