Analysis: Mathematics: Subtract
Subtract matrices in sheet by another matrix (A-B)
1. msubtract -r 2 imb:=[MBook1]MSheet1! active:=1 option:=same;
2. msubtract -r 1 imb:=[MBook1]MSheet1! option:=all;
Please refer to the page for additional option switches when accessing the x-function from script
Input
MatrixLayer
Specifies the input matrix A.
Specifies the input matrix B.
Output
MatrixObject
Specifies the output matrix. Get the result of subtracting matrix objects in the B sheet by the specified matrix object in the A sheet.
See the syntax here.
int
Specifies whether use the active matrix object in A sheet as the minuend. If not, use each object in the A sheet to subtract matrix object in B.
Option List:
Specifies the matrix objects in B sheet for subtraction.
You can use this X-Function to Subtract matrices in sheet by another matrix.
mdim, mexpand, mproperty, mreplace, mrotate90, msetvalue, mflip, mtranspose , msmooth
Keywords:subtract