Ce302 Sare-Alfonso-Luis Assignment
Ce302 Sare-Alfonso-Luis Assignment
CE-302
ADDITION OF MATRICES
Two matrices can be added together if and only if they have the same dimension.
Their sum is obtained by summing each element of one matrix to the corresponding element of the other matrix.
Example: (INSERT ANY VALUE ON EITHER OF THE MATRICES)
ANSWER To get the answer, B14,I14, and P14 was added. 1+1+8 =10 and such.
10 32 14 92 113 We successfully added them together since all of the matrix are of the
= 61 35 16 65 91 same dimension which is a 5x5 matrix
10 789 68 63 101
81 126 73 649 93
146 73 59 54 4
MULTIPLICATION OF MATRICES
Just as with adding matrices, the sizes of the matrices matter when we are multiplying.
For matrix multiplication to work, the columns of the second matrix have to have the
same number of entries as do the rows of the first matrix.
ANSWER
2 4 9 144 60 60 To get the answer, B44, J44, and R44 was multiplied. 2x1x1=2 and such.
8 18 36 40 60 84 We successfully multiplied them together since all of the matrix
= 12 20 18 84 112 162 are of the same dimension which is a 6x6 matrix.
576 30 24 528 168 8
36 24 0 20 18 24
42 30 0 12 32 0