mtimes
Matrix multiplication (A * B).
Syntax
Section titled “Syntax”C = mtimes(A, B)Description
Section titled “Description”Returns the matrix product A * B. The number of columns of A must equal the number of rows of B. For scalar A or B, this is elementwise multiplication. Same as the * operator on matrices.
For elementwise array multiplication, use .* or times.
Examples
Section titled “Examples”A = [1 2; 3 4]; B = [5 6; 7 8];A * B % [19 22; 43 50]mtimes(A, B) % same