Category "eigenvector"

r behaves strangely copying eigenvectors to a matrix in a for i loop

I'm a bit confused. A matrix A has 8 eigenvalues, some of them are complex, some are real. I want to copy only the eigenvectors that correspond to the real eige

Error finding the simplest row form of a matrix

This problem was discovered when I was solving this second order differential equation by matlab syms x(t) diff(x,t,2)+k*diff(x,t)+b*x==0 I transform i

Eigenanalysis of complex hermitian matrix: different phase angles for EIG and EIGH

I understand that eigenvectors are only defined up to a multiplicative constant. As far as I see all numpy algorithms (e.g. linalg.eig, linalg.eigh, linalg.svd)

Eigenvectors in Julia vs Numpy

I'm currently working to diagonalize a 5000x5000 Hermitian matrix, and I find that when I use Julia's eigen function in the LinearAlgebra module, which produces