Method on @sym: ctranspose (A)
Operator on @sym: A'

Conjugate (Hermitian) transpose 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⋅ⅈ⎦
ctranspose(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/transpose, @sym/conj.

Package: symbolic