Difference between revisions of "Addition of matrices"
From Robotics
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Exercise|Selftest: Addition of matrices}} | {{Exercise|Selftest: Addition of matrices}} | ||
− | Requirement for the addition of two matrices is, that they have the same number of rows and the same number of colums. So both matrices have to be an m-by-n matrix. The addition is made by adding each the components: | + | Requirement for the addition of two matrices is, that they have the same number of rows and the same number of colums. So both matrices have to be an m-by-n matrix. The addition is made by adding each the components: |
+ | |||
:<math> | :<math> | ||
\mathbf{A}+\mathbf{B}= | \mathbf{A}+\mathbf{B}= | ||
Line 23: | Line 24: | ||
a_{m1}+b_{m1} & \dots & &a_{mn}+b_{mn} | a_{m1}+b_{m1} & \dots & &a_{mn}+b_{mn} | ||
\end{array}\right] | \end{array}\right] | ||
− | </math | + | </math> |
{{Example | {{Example |
Latest revision as of 18:05, 13 November 2015
← Back: The transpose of a matrix | Overview: Matrices | Next: Multiplication of matrices → |
There are exercises as selftest for this article. |
Requirement for the addition of two matrices is, that they have the same number of rows and the same number of colums. So both matrices have to be an m-by-n matrix. The addition is made by adding each the components:
Example: Addition of two 3-by-3 matrices
|