How do you add matrices?
Addition of two matrices can be done by addition of Corresponding terms of the matrices only if both the matrices are of same size.
Let us take an example:
Dimensions of matrix is
Dimensions of matrix is
Adding corresponding elements
Hence, the way to add matrix is just to ad the corresponding elements as shown above.