times
Perform multiplication on a list of arguments from left to right, applied to matrices on an element-wise basis. Equivalent to the .* operator.
Syntax
R = times(x,y)
R = times(x,y,...)
Inputs
- x,y
- Type: double | integer | char | string | logical | struct | cell
Outputs
- R
- The product result.
Examples
R = times(2,4)
R = 8
R = times([2,1;3,1],[1,2;3,4])
R = [Matrix] 2 x 2
2 2
9 4