[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eigen values

From: Nir Krakauer
Subject: Re: eigen values
Date: Thu, 24 Mar 2016 10:20:42 -0400

[eigenvecs, eigenvals] = eig (V);
eigenvals_keep = diag(eigenvals) != 0; #or abs(diag(eigenvals)) > tol to also neglect eigenvalues that are close to zero
R = eigenvals(eigenvals_keep, eigenvals_keep);
V = eigenvecs(:, eigenvals_keep);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]