Two matrices can be added if and only if they both have the same dimensions. The addition of the matrices is accomplished by adding corresponding elements, therefore, all elements must have corresponding elements in the second matrix to have a defined solution.
The size of the new matrix is the size of the two matrices that combine to form the result. This means that if two M x N matrices are added, the result is an M x N matrix as well.
Consider the addition of two 3 x 3 matrices below:
The resultant matrix can be seen to be a 3 x 3 matrix as well.
Therefore, if we are to add Matrix D and Matrix E, both 6 x 7 matrices, the new matrix will be a 6 x 7 matrix as well.