How do I calculate the auto vectors and auto values of an array in MATLAB?
How do I calculate the auto vectors and auto values of an array in MATLAB?
And only use the function eig
.
For example, if your array calls A
:
[V, D] = eig(A)
V
and an array whose columns are the eigenvectors on the right and D
and a diagonal matrix with eigenvalues.
More information on reference .