% Numerical Mathematics and Computing, Fifth Edition % Ward Cheney & David Kincaid % Brooks/Cole Publ. Co. % (c) 2003 % % file: null.m % null space of matrix A for eigenvalue 5 % two ways A = [3 2; 7 -2] B = A - 5*eye(2) null(B) [V, D] = eig(A)