Compute condition numbers of the eigenvalues of a matrix. The condition numbers are the reciprocals of the cosines of the angles between the left and right eigenvectors.
Arguments
- a must be a square numeric matrix.
Return values
- c is a vector of condition numbers of the eigenvalue of a.
- v is the matrix of right eigenvectors of a. The result is the same as for
[v, lambda] = eig (a).- lambda is the diagonal matrix of eigenvalues of a. The result is the same as for
[v, lambda] = eig (a).Example
a = [1, 2; 3, 4]; c = condeig (a) [1.0150; 1.0150]