Matrix functions in Excel

Today I introduce to you the synthesis of matrix functions in Excel 2013. The article will guide in detail the syntax and specific examples for each matrix function. Hope to help you a lot.

1. Transpose function

- Meaning: The function returns the transposition matrix of a given matrix. You notice the function is correct with matrices with the same number of rows and columns.

- Syntax: Transpose (array [n, n]) .

Where: Array is a 2-dimensional array with a row and column index of n.

- For example:

Matrix functions in Excel Picture 1

Step 1: In the cell you want to display the transposition matrix, enter the command as shown:

Matrix functions in Excel Picture 2

Step 2: Press Enter -> display the command you type False . Highlight the data area F11: G12 -> press F2 -> Ctrl + Shift + Enter .

Matrix functions in Excel Picture 3

Note: The original matrix has many rows and columns, then you highlight the corresponding data area with so many rows and columns.

2. Mdeterm function

- Meaning: The function returns the determinant of matrices.

- Syntax: Mdeterm (array [n, n]) .

Where: Array is a 2-dimensional array with a row and column index of n.

- For example:

Matrix functions in Excel Picture 4

Step 1: In the cell where you need to calculate the determinant, enter the following command:

Matrix functions in Excel Picture 5

Step 2: Press Enter, the result will be:

Matrix functions in Excel Picture 6

3. Minverse function

- Meaning: Returns the inverse matrix of the given matrix.

- Syntax: Minverse (array [n, n]) .

Where: Array is a 2-dimensional array with equal number of columns and rows.

- For example:

Matrix functions in Excel Picture 7

Step 1: In the cell you want to display the inverse matrix, enter the following command:

Matrix functions in Excel Picture 8

Step 2: Press Enter , highlight the data area C11: D12 -> press F2 -> Ctrl + Shift + Enter . The result is as shown in the picture:

Matrix functions in Excel Picture 9

4. Mmult function

- Meaning: Returns the product of 2 matrices.

- Syntax: Mmult (aray1, array2) .

Where: The number of columns of matrix 1 is equal to the number of rows of matrix 2.

- Example: Find the product of 2 matrices.

Matrix functions in Excel Picture 10

+ Step 1: In the box you want to display matrix products, enter the command as shown:

Matrix functions in Excel Picture 11

Step 2: Press Enter , highlight the data range K6: L8 -> press F2 -> Ctrl + Shift + Enter . The result is as shown below:

Matrix functions in Excel Picture 12

In this step, there is a small note in Step 2 if you highlight the number of rows and columns incorrectly, as shown in the figure:

Matrix functions in Excel Picture 13

Note: Here matrix 1 (3 rows, 3 columns) x matrix 2 (3 rows, 2 columns) => product matrix has a row index and a column index equal to matrix 2.

Good luck!

4 ★ | 2 Vote

May be interested

  • How to split text into multiple columns in WordPhoto of How to split text into multiple columns in Word
    in particular of some jobs, how to display text is very important, for example in the newspaper printing industry ... here i introduce you how to divide text into multiple columns in word 2013.
  • How to fix columns and headlines in ExcelPhoto of How to fix columns and headlines in Excel
    why is it necessary to fix lines in excel. for those who often work with excel files with a large number of records, it is impossible not to use it. the following article details how to fix columns and rows in excel 2013.
  • How to fix font errors in Word and ExcelPhoto of How to fix font errors in Word and Excel
    you are very annoyed when downloading a file that the font fails to read anything. very simply with unikey's full font installer, you can fix those errors.
  • How to convert dots to commas in Excel on Windows 7Photo of How to convert dots to commas in Excel on Windows 7
    how to convert a dot to a comma in excel on windows 7. sometimes at work you want to display the numbers in the traditional form of vietnam: separate thousands ... with commas.
  • How to merge multiple sheets into 1 PDF file in Excel 2013Photo of How to merge multiple sheets into 1 PDF file in Excel 2013
    when using office 2007 version and below when you want to convert into a pdf file, you add add-on but now with office 2013 with just a few simple steps, you can combine multiple sheets in excel into one pdf file.
  • How to insert math formulas in ExcelPhoto of How to insert math formulas in Excel
    in the learning process, you often use ms excel to calculate and process data. because of some requirements that you need to insert mathematical formulas into excel, but you do not know how to manipulate.