mtimes

Perform matrix multiplication on a list of arguments from left to right, equivalent to the * operator.

Syntax

R = mtimes(x,y)

R = mtimes(x,y,...)

Inputs

x,y
Type: double | integer | char | string | logical | struct | cell
Dimension: scalar | vector | matrix

Outputs

R
The product.

Example

R = mtimes([2,1;3,1],[1,2;3,4])
R = [Matrix] 2 x 2
5   8
6  10