<< diff | Linear algebra | expm >> |
e = eig(A) |
[V, D] = eig(A) |
e = eig(A, balanceOption) |
[V, D] = eig(A, balanceOption) |
e = eig(A, B) |
[V, D] = eig(A, B) |
e = eig(A, B, balanceOption) |
[V, D] = eig(A, B, balanceOption) |
a numeric value: scalar or square matrix (double or single, complex or real)
a numeric value: scalar or square matrix (double or single, complex or real)
a string: 'nobalance' (disable preliminary balancing) or 'balance' (default).
real or complex number (double or single), Eigenvalues (returned as column vector).
real or complex number (double or single), square right eigenvectors.
real or complex number (double or single), Eigenvalues (returned as diagonal matrix).
eig(A) returns the Eigenvalues and eigenvectors.
eig(A, B) returns the generalized Eigenvalues and eigenvectors.
A = [10 -20 40; -50 20 0; 10 0 30]
e = eig(A)
[V, D] = eig(A)
A = [1/sqrt(2) 0; 0 1];
B = [0 1; -1/sqrt(2) 0];
[V, D] = eig(A, B)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET