Module: Editor
Version: 5.1.4 +
Description
The formula 'SubtractMatrices' returns the subtraction of two matrices. Each element of the second matrix will be subtracted from the element that is on the same position of the first matrix. The matrices have to be of the same size.
Parameters
Matrix1: first matrix you want to use for the subtraction.
Matrix2: second matrix you want to use for the subtraction.
Example
Description
In the following example the formula 'SubtractMatrices' is used to subtract one matrix from another.
Values parameters
Matrix 1:
Column 1 | Column 2 |
5 |
9 |
12 |
23 |
Matrix 2:
Column 1 | Column 2 |
16 |
5 |
3 |
10 |
Result
Output:
Column 1 | Column 2 |
-11 |
4 |
9 |
13 |
The outcome is a matrix with the results of the subtraction of the elements of the two matrices.
Related Topics
- AddMatrices: The formula 'AddMatrices' returns the sum of two or more matrices.
Feedback
If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.