You can conjugate transpose a matrix by using the ' operator. That is
the entry in the
ith column and the jth row will be
the complex conjugate of the entry in the
jth column and the ith row of the original matrix.
For example:
[1,2,3]*[4,5,6]'
We transpose the second vector to make matrix multiplication possible.
If you just want to transpose a matrix without conjugating it, you would
use the .' operator. For example:
[1,2,3]*[4,5,6i].'
Observera att normalt transponat, det vill säga .'-operatorn är mycket snabbare och kommer inte skapa en ny kopia av matrisen i minnet. Konjugattransponatet skapar tyvärr en ny kopia. Det rekommenderas att alltid använda .'-operatorn vid arbete med reella matriser och vektorer.