Multiply two matrices? - Wolfram Research
community.wolfram.com › groups › -A multiplication of numbers and a multiplication of matrices are two totally different things! Here an example: m1 = { {a, b}, {c, d}}; m2 = { {d, e}, {f, g}}; m1 m2 (* element wise multiplication *) (* Out: { {a d,b e}, {c f,d g}} *) m1.m2 (* matrix multiplication *) (* Out: { {a d+b f,a e+b g}, {c d+d f,c e+d g}} *) POSTED BY: Henrik Schachner.