Matrix addition
Jun 23, 2023
My blog: https://ai-research.dev/matrix-addition/
1. Addition of 2 matrices
Matrix addition is the operation of adding two matrices by adding the corresponding entries together. Given two matrices A, B that must have an equal number of rows and columns
For example:
2. Subtraction of 2 matrices
Similarly, we can also subtract one matrix from another, as long as they have the same dimensions.
For example: