How can I obtain the eigenvector from a matrix?
Show older comments
m1 = [7 3; 3 -1]
How can I obtain the eigenvector from this matrix?
Answers (2)
[V,D]=eig([7,3;3,-1])
V is the vector of eigenvectors and D is the diagonal matrix of eigenvalues.
Friedel Hartmann
on 8 May 2022
[Vectors, DiagonalWithValues] = eig(m1)
ListEvalues = diag(DiagonalWithValues)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!