| Line 28: |
Line 28: |
| | *Suppose the number of rows in the first matrix is more than the second matrix,this function will return the extra row entries with the same number. | | *Suppose the number of rows in the first matrix is more than the second matrix,this function will return the extra row entries with the same number. |
| | *Suppose the number of rows in the second matrix is more than the first matrix ,the extra row values of the second matrix will be ignored. | | *Suppose the number of rows in the second matrix is more than the first matrix ,the extra row values of the second matrix will be ignored. |
| | + | |
| | + | ==Examples== |
| | + | 1. MATRIXMINUS([2,4,0;8,6,3;9,12,-11],[3,-5,-9;8,5,7;8,4,6]) |
| | + | {| class="wikitable" |
| | + | |- |
| | + | | -1 || 9 || 9 |
| | + | |- |
| | + | | 0 || 1 || -4 |
| | + | |- |
| | + | | 1 || 8 || -17 |
| | + | |} |
| | + | 2. MATRIXMINUS([-10,13,17;22,19,14],[12,18,-25;32,25,-16]) |
| | + | {| class="wikitable" |
| | + | |- |
| | + | | -22 || -5 || 42 |
| | + | |- |
| | + | | -10 || -6 || 30 |
| | + | |} |
| | + | |
| | + | ==See Also== |
| | + | *[[Manuals/calci/MATRIXOPERATORS| MATRIXOPERATORS]] |
| | + | *[[Manuals/calci/MATRIXADD| MATRIXADD]] |
| | + | *[[Manuals/calci/MATRIXMULTIPLY| MATRIXMULTIPLY]] |
| | + | |
| | + | ==References== |
| | + | *[http://stattrek.com/matrix-algebra/matrix-addition.aspx Matrix Subtraction] |
| | + | |
| | + | *[[Z_API_Functions | List of Main Z Functions]] |
| | + | *[[ Z3 | Z3 home ]] |