Friday, December 2, 2011

matrices

today is one of the easier blogs where i teach you how to add matrices. sounds easy right? well it is. the only catch is that the matrices have to have the same dimensions such as 2x3 and 2x3. you can add those however you cannot add 2x3 and 3x2 because they do not have the same dimensions. lets look at our example below to see how simple this is.


[12   7] + [3   -4]

add 12 and 3 and get 15.
add 7 and -4 and get 3.
answer is [ 15   3]

No comments:

Post a Comment