Returns the matrix product of two arrays. The resulting matrix has the same number of rows as array1 and the same number of columns as array2.
Syntax MMULT (array1, array2)
array1, array2 The two arrays to perform matrix multiplication.
array1 and array2 can be cell ranges, references, or array constants.
array1 must have the same number of columns as array2 and both arrays must contain only numeric values.
Formulas that return an array must be entered as an array formula.
MMULT returns the #VALUE! error value under the following circumstances:
1. Any cell is empty or contains text.
2. The number of columns in array1 is not equal to the number of rows in array2.
3. The capacity of the result array is equal to or greater than a total of 5,461 cells.
The matrix product a of two arrays b and c is:
When we want to calculate matrix products, we use the MMULT function.
Its function is to return the product of two arrays. The number of rows of the matrix is the same as the number of rows of array one, and the number of columns of the matrix is the same as the number of columns of array two.
Things to note when using this function:
Any cell cannot be empty or contain text, and the number of columns in array one must be the same as the number of rows in array two, otherwise the error value #VALUE will be returned!
Let's do some practical operations in this table to help you use this function.
Select cell A8, click Insert Function, find the MMULT function, and click OK.
Here we need to enter two values.
For the first set of values, we select the area of data one and fill it in.
For the second set of values, we select the area of data 2 and fill it in
Click OK and you can see that a single result value appears in the result.
This is because we did not set an array formula, so when multiple results appear, they cannot be displayed completely.
Let's set up the array formula:
Choose to use
Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/ju-zhen-cheng-fa-san-jiao-han-shu-zai-MMULT-han-shu-zhong-de-ying-yong.html
评论列表(196条)
测试