# Manuals/calci/MATRIXSUBTRACT

Jump to navigation
Jump to search

**MATRIXSUBTRACT (a,b)**

- and are any two matrices.

## Description

- This function is calculating the subtraction of two matrices or with the scalar value.
- In , and are two matrices.
- Suppose when we are subtracting two matrices,the order of the matrices to be considered.
- But while subtracting with a scalar order of matrix is not considered.
- Using this function we can do the subtraction between two matrices and one matrix with a scalar value.
- So subtraction is defined by:

## Examples

1. MATRIXSUBTRACT([[10,14,17],[6,-3,-5],[21,-34,76]],[[22,25,33],[-17,19,20],[26,35,-21]])

-12 | -11 | -16 |

23 | -22 | -25 |

-5 | -69 | 97 |

2. MATRIXSUBTRACT([[2,17,18,-34,98],[60,3.15,36,23,13]],[[54,55,3,19,25],[65,45,77,-90,88.8]])

-52 | -38 | 15 | -53 | 73 |

-5 | -41.85 | -41 | 113 | -75.8 |

## Related Videos

## See Also

## References