08 Matrix Multiplication Instructionsl
08_matrix-matrix-multiplication_instructionsl
User Manual:
Open the PDF directly: View PDF 
.
Page Count: 1
| Download | |
| Open PDF In Browser | View PDF | 
Matrix-Matrix Multiplication We multiply two matrices by breaking it into several vector multiplications and concatenating the result. ⎡ a ⎢ c ⎣ e b ⎤ w x d ⎥ ∗ [ f ⎦ ⎡ a ∗ w + b ∗ y ] = ⎢ c ∗ w + d ∗ y y z ⎣ e ∗ w + f ∗ y a ∗ x + b ∗ z ⎤ c ∗ x + d ∗ z ⎥ e ∗ x + f ∗ z ⎦ An m x n matrix multiplied by an n x o matrix results in an m x o matrix. In the above example, a 3 x 2 matrix times a 2 x 2 matrix resulted in a 3 x 2 matrix. To multiply two matrices, the number of columns of the first matrix must equal the number of rows of the second matrix. For example: % Initialize a 3 by 2 matrix A = [1, 2; 3, 4;5, 6] % Initialize a 2 by 1 matrix B = [1; 2] % We expect a resulting matrix of (3 by 2)*(2 by 1) = (3 by 1) mult_AB = A*B % Make sure you understand why we got that result
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.4 Linearized : No Page Count : 1 Creator : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 Producer : Skia/PDF m70 Create Date : 2018:12:07 06:20:57+00:00 Modify Date : 2018:12:07 06:20:57+00:00EXIF Metadata provided by EXIF.tools