%linear algebra

a=[3 4 -1 1 -9 10;
6 5 0 7 4 -16;
1 -4 7 -1 6 -8;
2 -4 5 -6 12 -8;
-3 6 -7 8 -1 1;
8 -4 9 1 3 0];

eig(a)
[v1,v2]=eig(a) % columns of v1 are the eigenvectors of the eigenvalues
% v2 is the diagonalized matrix

rank(a)
