Method on @sym: mtimes (x, y)
Operator on @sym: x * y

Multiply symbolic matrices.

Example:

syms x y
A = sym([1 2; 3 4])
  ⇒ A = (sym 2×2 matrix)
      ⎡1  2⎤
      ⎢    ⎥
      ⎣3  4⎦
B = [x; y]
  ⇒ B = (sym 2×1 matrix)
      ⎡x⎤
      ⎢ ⎥
      ⎣y⎦
A * B
  ⇒ (sym 2×1 matrix)
      ⎡ x + 2⋅y ⎤
      ⎢         ⎥
      ⎣3⋅x + 4⋅y⎦

Package: symbolic