Matrix arithmetic operation excel - multiplying the inverse matrix transpose determinant

Matrix arithmetic operation excel - multiplying the inverse matrix transpose determinant

https://jingyan.baidu.com/article/154b463128e13928ca8f41a4.html

Correlation matrix calculation in Excel. When we study linear algebra or some matrix calculations, we used to use excel, excel lightweight computing power is still very strong, in this case how to use excel to share a common matrix calculation processing.

Tools / materials

  • computer
  • excel

Method / Step

  1. After the initial matrix to the input cells, select the matrix region, and then copy, paste right, select the "permutation" button. As shown in FIG.

  2. Using the function to calculate a matrix determinant MDETERM value

    If there is an order m × n matrix A, set | A | level corresponding to the value of the determinant of the matrix. As used herein, the above matrix transpose matrix of sample data. After entering this formula, back an illegal data warning, because the value of the determinant of the determinant must conform to the rules, the number of rows and columns must be equal, so the calculated value provided that the determinant of the matrix is ​​a square matrix.

  3. Calculating the square corresponding to the value of the determinant as shown in the accompanying drawings ok.

  4. MINVERSE function using the inverse matrix of the matrix.

    Note that only have the inverse square matrix, the matrix must be a square matrix of order n. In the input cell "= MINVERSE (array)" Enter to obtain the inverse matrix of the matrix. As shown in the drawings demonstrate.

  5. Step 1 shown in the drawings and does not calculate the inverse matrix, but instead returns a #NUM !, reason is that if a matrix is ​​invertible, then | A | is not equal to 0, i.e. the value of the determinant of the matrix is ​​not 0 inverse matrix, since the matrix determinant exemplary value 0, so there is an invertible matrix. Reference is an example of the present invertible matrix. Note: The formula you must enter an array formula, press F2, and then press Ctrl + Shift + Enter

  6. MMULT function using the matrix multiplication operation may be performed. Here you have to judge you calculated matrix is ​​a few lines of a few columns. For example, I use two matrix multiplication 2X3,3X2, I must be the result of the calculation of the 2X2 matrix. Therefore, Table 2 row 2 select, as an arbitrary position in the space of FIG.

  7. Click on the icon in the following figure. As shown, select [All] selected category.

  8. Select [MM At this time in the selection function, crtl you hold down the [] and [shift], then [enter], then let go to. ULT]. Click OK. A first matrix select with the mouse. The second matrix select with the mouse.

  9. So even out.

    END

Guess you like

Origin www.cnblogs.com/xiexiaokui/p/11816110.html