TRANSPOSE Matrix Transpose Operator

Section: Mathematical Operators

Usage

Performs a transpose of the argument (a 2D matrix). The syntax for its use is
  y = a.';

where a is a M x N numerical matrix. The output y is a numerical matrix of the same type of size N x M. This operator is the non-conjugating transpose, which is different from the Hermitian operator ' (which conjugates complex values).

Function Internals

The transpose operator is defined simply as

where y_ij is the element in the ith row and jth column of the output matrix y.

Examples

A simple transpose example:
--> A = [1,2,0;4,1,-1]

A = 

  1  2  0 
  4  1 -1 

--> A.'

ans = 

  1  4 
  2  1 
  0 -1 


Here, we use a complex matrix to demonstrate how the transpose does \emph{not} conjugate the entries.

--> A = [1+i,2-i]

A = 

    1.0000 +  1.0000i    2.0000 -  1.0000i 

--> A.'

ans = 

    1.0000 +  1.0000i 
    2.0000 -  1.0000i 


inserted by FC2 system