Given the following matrices A4 3 2 B3 5 8 5 4 5 1 4 6 1 3 5
Given the following matrices:
A=[4 3 2 B=[3 5 8
5 4 5 1 4 6
1 3 5] 2 5 6]
Multiply the two matrices (matrix multiplication) and store the result in the variable D. (Note: D = A times B...not B times A)
Multiply matrix D element-by-element with matrix B and store in variable E.
Copy and paste your code below.
Solution
AB=D=[12 15 16
5 16 30
2 15 30]
DB=E=[36 75 128
5 64 180
4 75 180]
![Given the following matrices: A=[4 3 2 B=[3 5 8 5 4 5 1 4 6 1 3 5] 2 5 6] Multiply the two matrices (matrix multiplication) and store the result in the variable Given the following matrices: A=[4 3 2 B=[3 5 8 5 4 5 1 4 6 1 3 5] 2 5 6] Multiply the two matrices (matrix multiplication) and store the result in the variable](/WebImages/16/given-the-following-matrices-a4-3-2-b3-5-8-5-4-5-1-4-6-1-3-5-1027330-1761532030-0.webp)