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
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
A | ims |
Input MatrixLayer |
|
Specifies the input matrix A. |
B | imb |
Input MatrixLayer |
|
Specifies the input matrix B. |
A-B | oms |
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. |
Active Matrix in A | active |
Input 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:
|
Subtract | option |
Input int |
|
Specifies the matrix objects in B sheet for subtraction. Option List:
|
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