Check if x or y are eigenvectors of matrix A. Then calculate the associated eigenvalue. is the following code is right?

A = [2,1,1;2,3,2;1,1,2] X = [-1;1;0] eigs(A) z = A*X LAMDA = z*inv(X)

You may want to verify it by hand calculation. The scilab command to find eigen values of the given martix is "spec".

Login to add comment