Filter löschen
Filter löschen

How to get specific eigenvectors

2 Ansichten (letzte 30 Tage)
Enterprixe
Enterprixe am 1 Apr. 2017
Beantwortet: the cyclist am 1 Apr. 2017
Hello, im starting to use the function 'eig' to calculate the eigenvalues and eigenvectors of a problem. In theory, to calculate them i always had the first coordinate of each eigenvector to be equal to 1, but i do not know how to set that condition in MATLAB. The system would be as follows, where i want to calculate the eigenvectors of the A matrix according to the conditions stated above.
M=[1 0 0 0 0 0 0 0 0 0;
0 1 0 0 0 0 0 0 0 0;
0 0 1 0 0 0 0 0 0 0;
0 0 0 1 0 0 0 0 0 0;
0 0 0 0 1 0 0 0 0 0;
0 0 0 0 0 2 0 0 0 0;
0 0 0 0 0 0 3 0 0 0;
0 0 0 0 0 0 0 3 0 0;
0 0 0 0 0 0 0 0 4 0;
0 0 0 0 0 0 0 0 0 1];
K=[1 -1 0 0 0 0 0 0 0 0;
-1 3 0 0 0 0 -2 0 0 0;
0 0 3 -1 0 0 0 -2 0 0;
0 0 -1 1 0 0 0 0 0 0;
0 0 0 0 1 -1 0 0 0 0;
0 0 0 0 -1 3 -2 0 0 0;
0 -2 0 0 0 -2 8 -4 0 0;
0 0 -2 0 0 0 -4 11 -5 0;
0 0 0 0 0 0 0 -5 10 -5;
0 0 0 0 0 0 0 0 -5 5];
A=inv(M)*K;

Akzeptierte Antwort

the cyclist
the cyclist am 1 Apr. 2017
I don't fully understand your question. Do you just mean that you want to normalize the eigenvector such that the first element of each eigenvector is equal to 1? Then you could just do
V = V/V(1);
That will still be an eigenvector (unless the first element is zero, in which case you cannot achieve what you want without some further manipulations).

Weitere Antworten (0)

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by