Skip to content

ctranspose

Complex conjugate transpose

ctranspose(A)

  • It returns the complex conjugate transpose of a matrix A.
  • It gives the same result as using the transpose operator ', i.e., A'.
  • For non-conjugate transpose, use transpose(A) or A.'.
  • If A is a real matrix, it gives the same result as transpose(A) and A'.

Example 1: Conjugate and non-conjugate transpose.

A=complex(rand(2,2),rand(2,2))
% Conjugate transpose
ctranspose(A)
A'
% Non-conjugate transpose
transpose(A)
A.'
A = 1e-1 × 
8.834 + 1.388i   3.594 + 3.991i
7.944 + 6.785i   0.854 + 6.879i

ans = 1e-1 × 
8.834 - 1.388i   7.944 - 6.785i
3.594 - 3.991i   0.854 - 6.879i

ans = 1e-1 × 
8.834 - 1.388i   7.944 - 6.785i
3.594 - 3.991i   0.854 - 6.879i

ans = 1e-1 × 
8.834 + 1.388i   7.944 + 6.785i
3.594 + 3.991i   0.854 + 6.879i

ans = 1e-1 × 
8.834 + 1.388i   7.944 + 6.785i
3.594 + 3.991i   0.854 + 6.879i