To add or subtract matrices, perform the corresponding operation on each element of the matrices. Note that in order to add or subtract matrices, the matrices must have the same dimensions.