Eig

Parent Previous Next

Eig


Eigenvalues and eigenvectors



Syntax


eig(A)

A is a square matrix

Returns eigenvalue matrix and eigenvector matrix of A.


Examples


Input

Output

eig([1,2,3;4,5,6;7,8,9])


<D, V> = eig([1,2,3;4,5,6;7,8,9])




Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor