Home >Topics >excel >How to use the mmult function

How to use the mmult function

hzc
hzcOriginal
2020-07-02 17:03:1212931browse

In excel, you can use the "MMULT()" function to return the matrix product of two arrays. This function is used to return the matrix product of two arrays. Its syntax is "MMULT(array1,array2)". The parameters array1 and array2 are the two arrays to be used for matrix multiplication.

How to use the mmult function

##MMULT(array1,array2)Function introduction:

Returns the matrix product of two arrays. The resulting matrix has the same number of rows as array1, and the matrix has the same number of columns as array2.

Syntax

MMULT(array1,array2)

Array1, array2 are the two arrays to be used for matrix multiplication. .

Explanation

The number of columns of Array1 must be the same as the number of rows of array2, and both arrays can only contain numerical values.

Array1 and array2 can be cell ranges, array constants or references.

MMULT returns the error value #VALUE! in the following situations:

Any cell is empty or contains text.

The number of columns in array1 is not equal to the number of rows in array2.

Recommended tutorial: "

excel tutorial"

The above is the detailed content of How to use the mmult function. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn