Matrix Sum:
Steps to Add Matrices:
- Ensure both matrices have the same dimensions (rows x columns).
- For each element in the matrices, add the corresponding elements from both matrices.
- The resulting matrix will have the same dimensions as the input matrices.