Method on @sym: repmat (A, n, m)
Method on @sym: repmat (A, [n m])

Build symbolic block matrices.

Examples:

repmat([1 2 sym(pi)], 2, 3)
  ⇒ (sym 2×9 matrix)
      ⎡1  2  π  1  2  π  1  2  π⎤
      ⎢                         ⎥
      ⎣1  2  π  1  2  π  1  2  π⎦

repmat(sym(pi), [1 3])
  ⇒ (sym) [π  π  π]  (1×3 matrix)

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

Package: symbolic