MTM
Minus
matrix subtraction
Calling Sequence
Parameters
Description
Examples
Minus(M1,M2)
M1
-
Array
M2
The minus(M1,M2) function performs matrix subtraction of M1 - M2. If M2 is a scalar, then M2 is subtracted from each element of M2.
Arrays M1 and M2 must be the same size.
with⁡MTM:
M1≔Matrix⁡2,3,fill=2:
M2≔Matrix⁡2,3,fill=1:
Minus⁡M1,M2
111111
See Also
MTM[plus]
MTM[times]
MTM[mtimes]
MTM[ldivide]
MTM[rdivide]
MTM[mrdivide]
Download Help Document