Print A @ B. The inner dimensions are both 3, so the product is 2 by 2. This is matrix multiplication, not element-by-element multiplication.
Data analysis labNumPy problems
Problem 45 of 50 · Linear algebra · Medium
Multiply two matrices
Multiply a 2 by 3 matrix by a 3 by 2 matrix.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2