Group: | Linear Algebra |
See also: | svd eigsm |
Function: | eiggn | |
Description: | eiggn computes the eigenvalues and eigenvectors of a quadratic matrix (or array) in unsorted order. |
Usage: | y = eiggn (x {,xi}) | |
Input: | ||
x | p x p matrix (real part of matrix) | |
xi | p x p matrix (imaginary part of matrix) | |
Output: | ||
y.values.re | p x 1 vector with the real eigenvalues | |
y.values.im | p x 1 vector with the imaginary eigenvalues | |
y.vectors.re | p x p matrix with the real eigenvectors | |
y.vectors.im | p x p matrix with the imaginary eigenvectors |
x=#(1,3)~#(3,2) eiggn(x)
Contents of eigwv.values.re [1,] -1.5414 [2,] 4.5414 Contents of eigwv.values.im [1,] 0 [2,] 0 Contents of eigwv.vectors.re [1,] 1 0.4932 [2,] -0.84713 0.5822 Contents of eigwv.vectors.im [1,] 0 0 [2,] 0 0
Group: | Linear Algebra |
See also: | svd eigsm |