Method on @sym: transpose (A)
Operator on @sym: A.'

Structural transpose (not conjugate) of a symbolic array.

Example:

syms z
syms x real
A = [1 x z; sym(4) 5 6+7i]
  ⇒ A = (sym 2×3 matrix)
      ⎡1  x     z   ⎤
      ⎢             ⎥
      ⎣4  5  6 + 7⋅ⅈ⎦
transpose(A)
  ⇒ (sym 3×2 matrix)
      ⎡1     4   ⎤
      ⎢          ⎥
      ⎢x     5   ⎥
      ⎢          ⎥
      ⎣z  6 + 7⋅ⅈ⎦

This can be abbreviated to:

A.'
  ⇒ (sym 3×2 matrix)
      ⎡1     4   ⎤
      ⎢          ⎥
      ⎢x     5   ⎥
      ⎢          ⎥
      ⎣z  6 + 7⋅ⅈ⎦

See also: @sym/ctranspose.

Package: symbolic