A B
[3 2] [2 4 5]
[2 4]*[3 1 4]
[2 1]
Above are our matrices that I will use to demonstrate how to multiply matrices.
First, you must find the dimensions of the two matrices. Matrix A's dimensions are 3 by 2. Matrix B's dimensions are 2 by 3. In order to multiply, you must make sure the column mathces with the row. in this one, 2 X 3 X 3 X 2. this means we can multiply.
Second, we multiply.
Our answer should be:
[12 14 23]
[16 12 26]
[7 9 14]
No comments:
Post a Comment