For the matrix given in Problem 2.12, useeig to find the eigenvalues. Then find the eigenvalues of A by first generating the characteristic polynomial for A using poly and then using roots to find the roots of the resulting polynomial. Use sort to compare the results of the two approaches. What conclusions do you draw from these results? For the matrix given in Problem 2.14, taking n=10, show that the trace is equal to the sum of the eigenvalues and the determinant is equal to the product of the eigenvalues.Usethe MATLAB functions det, trace, and eig.
#Sales Offer!| Get upto 25% Off: