mtimes

Matrix multiplication, * operator

Syntax

  • C = mtimes(A, B)

  • C = A * B

Input argument

  • A - a variable

  • B - a variable

Output argument

  • C - result of A * B

Description

C = mtimes(A, B) performs matrix multiplication operation: A * B.

Examples

mtimes(3, 4)
3 * 4
M1 = [2 6 10; 4 8 70];
M2 = [-25 88 1; 23 29 41; 24 40 0];
M1 * M2

See also

times.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated