mtimes
Element wise multiplication, .* operator
Syntax
C = times(A, B)
C = A .* B
Input argument
A - a variable
B - a variable
Output argument
C - result of A .* B
Description
C = times(A, B) performs element wise multiplication operation: A .* B.
Examples
times(3, 4)
3 .* 4
M1 = [2 6 10; 4 8 70];
M2 = [-25 88 1; 23 29 41];
M1 .* M2
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated
Was this helpful?