A = [ 2 6 7 8 11 ; 6 9 6 8 6; 7 6 1 7 9; 8 8 7 12 7; 11 6 9 7 7] % Part (a) rank(A) % = 5 if A is invertible det(A) % not 0 if invertible inv(A) % matlab generates an error message if the matrix is not invertible % Part (b) [P,L] = eig(A) A - P*L*inv(P) % Part (c) [U,S,V] = svd(A) A - U*S*V'