transpose
Transpose an array (Excel-compatible).
Syntax
Section titled “Syntax”v = transpose(arr)Description
Section titled “Description”Returns arr with rows and columns swapped. Same as the ' operator (or ctranspose for the conjugate transpose) on real-valued matrices.
Example
Section titled “Example”transpose([1 2 3; 4 5 6]) % [1 4; 2 5; 3 6]See also
Section titled “See also”ctranspose— Conjugate transpose (A').