After excuting the statement "[X,D]=eig(A)", D is( ).
A: a scalar matrix
B: an identity matrix
C: a triangular matrix
D: a diagonal matrix
A: a scalar matrix
B: an identity matrix
C: a triangular matrix
D: a diagonal matrix
举一反三
- The trace of a matrix is defined as the sum of diagonal elements, which of the following methods can find the matrix trace( ). A: trace(A) B: sum(diag(A)) C: prod(eig(A)) D: sum(eig(A))
- Which of the following statement is false? A: If[img=77x23]1803b6aa763b00a.png[/img], where[img=77x23]1803b6aa7e8aab9.png[/img] and D is a diagonal matrix, then B is a symmetric matrix. B: An orthogonal matrix is orthogonally diagonalizable. C: An[img=44x19]1803b6aa8680eb5.png[/img]symmetric matrix has n real eigenvalues. D: An[img=44x19]1803b6aa8680eb5.png[/img]symmetric matrix hasnlinearly independent eigenvectors.
- If A is a matrix, the function max(A(:)) is ( ). A: to return the first element B: to return the maximum element in each row of the matrix C: to return the maximum element in each column of the matrix D: to return the largest element of the entire matrix
- If A is a matrix, the function of the function max(a(:)) is ( ). A: to work out the maximum element of the entire matrix B: function call errors C: to work out the maximum element of each row of the matrix D: to work out the maximum element of each column of the matrix
- 14 In triple sequence table of sparse matrix, each triple represents ( ). A: the row number,column number and data value of non-zero elements in the matrix B: the data value of non-zero elements in the matrix C: the row and column numbers of elements in the matrix D: the row number,column number and data value of elements in the matrix