how to find eigenvalue and eigenvectors from Hermitian photo ??

hello i have some problems and i don't know how to solve it so if you know some thing please help me:) my problem is: i have the photo as you can see it and i want to find eigenvalue and eigenvectors as Hermitian so what is the code to find them ?? by the way i have another question, when i try to use
[V,D] = eig(A,B,flag)
and i used 'chol', what is B should be ?? note that i use attach photo as A.

 Accepted Answer

I'm pretty sure that
[V,D] = eig(A)
is smart enough to check whether your A matrix is Hermitian, but you could do
[V,D] =eig(A, eye(size(A)), 'chol')

7 Comments

thank you so much but i have another question ... when i had eigenvectors with complex number by other words how could i have eigenvectors content complex value (imaginary) thank you :)
what is that mean ?? did you mean after i extract eigenvector i multiply it with my image ??
No, the IMAG command will extract the complex part of an imaginary number or array
>> imag(2+3i)
ans =
3
If this isn't what you want, you'll need to be clearer. Also, since I answered your original question, it would be appropriate for you to Accept-click it and post your new question in a separate thread dedicated to it.
thank you for your declaration but i will ask in another clear way :) could i have complex eigenvectors from this image ?? yes or no if yes what is the way to have them ?? thank you
If you're getting real eigenvectors right now, one way to obtain a complex ones is to multiply them by i=sqrt(-1). Remember that if v is an eigenvector, then so is c*v for any scalar, c, real or complex.

Sign in to comment.

More Answers (0)

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!