Filter löschen
Filter löschen

Plot eigenvectors of a square matrix in Matlab

12 Ansichten (letzte 30 Tage)
Mirzobek Malikov
Mirzobek Malikov am 2 Nov. 2022
Let's have a square matrix [1 0; -4 5]. The eigenvectors are [ 0; 1] and [0.7071; 0.7071]. I need to plot these eigenvectors correctly.
A = [1 0; -4 5];
[Eig_vector Eig_value] = eig(A);
  • Here, can we get a correct plot by using plot(Eig_vector)?
  • Or once I have any eigenvector (x; y), by setting origin (inital coordinates) of the vector arbitrarily, should I calculate the last coordinates of the vector and then plot(x(0), eigenvector(x), y(0), eigenvector(y))?

Antworten (1)

KSSV
KSSV am 2 Nov. 2022
plot(Eig_vector)
  1 Kommentar
Mirzobek Malikov
Mirzobek Malikov am 2 Nov. 2022
but, how Matlab defines the initial points of the eigenvectors, where do they begin?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Objects 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