Method on @sym: rdivide (x, y)
Operator on @sym: x ./ y

Element-wise forward slash division of symbolic expressions.

Example:

syms x
A = sym([1 137; 3 4])
  ⇒ A = (sym 2×2 matrix)
      ⎡1  137⎤
      ⎢      ⎥
      ⎣3   4 ⎦
B = [x pi; 2*x 8]
  ⇒ B = (sym 2×2 matrix)
      ⎡ x   π⎤
      ⎢      ⎥
      ⎣2⋅x  8⎦
A ./ B
  ⇒ ans = (sym 2×2 matrix)
      ⎡ 1   137⎤
      ⎢ ─   ───⎥
      ⎢ x    π ⎥
      ⎢        ⎥
      ⎢ 3      ⎥
      ⎢───  1/2⎥
      ⎣2⋅x     ⎦

Either x or y can be scalar:

A ./ 2
  ⇒ ans = (sym 2×2 matrix)
      ⎡1/2  137/2⎤
      ⎢          ⎥
      ⎣3/2    2  ⎦
2 ./ B
  ⇒ ans = (sym 2×2 matrix)
      ⎡2   2 ⎤
      ⎢─   ─ ⎥
      ⎢x   π ⎥
      ⎢      ⎥
      ⎢1     ⎥
      ⎢─  1/4⎥
      ⎣x     ⎦

Finally, the can both be scalar:

2 ./ x
  ⇒ ans = (sym)
      2
      ─
      x

See also: @sym/ldivide, @sym/mrdivide.

Package: symbolic