MATLAB Answers

What is the fastest way to compute the first eigenvector?

I'd like to know a way to compute the first eigenvector (the eigenvector with the largest eigenvalue) of a matrix A. Now I am using eig function.
[V, D] = eig(A);
However, this computes all eigenvectors of A, resulting in slow computation.
Does anyone know if there is a fastest way to compute the eigenvector? Thank you in advance.

  댓글 수: 0

로그인 to comment.


답변 수: 1

gonzalo Mier 님의 답변 10 Jun 2019
 채택된 답변

Read about eigs

  댓글 수: 1

It looks suitable for my task. Thank you for the quick reply.

로그인 to comment.

Translated by