Question A2.6: (a) Determine the inverse and determinant of the following m...
(a) Determine the inverse and determinant of the following matrix using MATLAB.
A=\left[\begin{matrix} 50 & 20 & 0 \\ 20 & 75 & -10 \\ 0 & -10 & 100 \end{matrix} \right]
(b) Find the eigenvalues of A.
(a)
>>A = [50 20 0; 20 75 −10; 0 −10 100];
% The matrix A is defined
>>INV(A) % Find the inverse of A using MATLAB function INV
ans =
0.0224 −0.0061 −0.0006
−0.0061 0.0152 0.0015
−0.0006 0.0015 0.0102
>>det(A) % Find the determinant of A using MATLAB function
det
ans =
330000
(b)
>>eig(A) % Find the eigenvalues of A using MATLAB function
eig
ans =
38.5225
81.9673
104.5102
Related Answered Questions
Question: A2.7