transpose

Matrix transpose.

Syntax

R = transpose(x)

R = x.'

Inputs

x
Matrix of vector to transpose.
Dimension: vector | matrix

Outputs

R
Transposed result.

Example

Matrix input.

R = transpose([1,5,2;6,2,3])
R = [Matrix] 3 x 2
1  6
5  2
2  3

Comments

The ' operator after a matrix or vector performs the conjugate transpose.