mmult
Matrix multiplication of two arrays.
Syntax
Section titled “Syntax”v = mmult(array1, array2)Description
Section titled “Description”Returns the matrix product array1 * array2. The number of columns of array1 must equal the number of rows of array2. Same as the * operator on matrices in script mode.
Example
Section titled “Example”mmult([1 2; 3 4], [5; 6]) % [17; 39]See also
Section titled “See also”mtimes— Matrix multiplication (A * B).munit— Unit (identity) matrix.sumproduct— Sum of element-wise products of arrays.