Method on @sym: horzcat (x, y, …)
Operator on @sym: [x, y, …]
Operator on @sym: [x y …]

Horizontally concatentate symbolic arrays.

Example:

A = sym([1 2; 3 4])
  ⇒ A = (sym 2×2 matrix)
      ⎡1  2⎤
      ⎢    ⎥
      ⎣3  4⎦

[A A A]
  ⇒ (sym 2×6 matrix)
      ⎡1  2  1  2  1  2⎤
      ⎢                ⎥
      ⎣3  4  3  4  3  4⎦

See also: @sym/vertcat, @sym/cat.

Package: symbolic