Eigenvectors of Complex Matrix

Hello, I'm working in Graph Spectra. The problem is that I want to find the eigenvalues and eigenvectors of a matrix with complex numbers. For instance, my matrix is: [0 1+i 2i 3;1+i 0 3 1+4i;2i 3 0 1i;3 1+4i 1i 0] I would like to know if the matlab function eig works for this kind of calculations. The idea is to find the partitioning with the second eigenvector. If there is anybody working on this subject, I would like to have a little help. Thank you!

 Respuesta aceptada

Matt Fig
Matt Fig el 11 de Oct. de 2012
Editada: Matt Fig el 11 de Oct. de 2012

0 votos

The regular EIG function seems to work:
A =[0 1+i 2i 3;1+i 0 3 1+4i;2i 3 0 1i;3 1+4i 1i 0];
[E,V] = eig(A)

Más respuestas (3)

Wayne King
Wayne King el 11 de Oct. de 2012

0 votos

Yes, it does.
A = [0 1+i 2i 3;1+i 0 3 1+4i;2i 3 0 1i;3 1+4i 1i 0];
[V,D] = eig(A);
V*D
%compare to
A*V
Jose Sanchez
Jose Sanchez el 3 de Sept. de 2013

0 votos

It's been a while, but, Thank you very much!

Categorías

Más información sobre Linear Algebra en Centro de ayuda y File Exchange.

Preguntada:

el 11 de Oct. de 2012

Respondida:

el 31 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by