TRANSPOSE matrix function
Description
TRANSPOSE(A) returns the transpose of matrix A: a matrix with the row and column indices switched. The transpose of a matrix is denoted as A′ or AT.
The transpose of the 3 × 2 matrix A:
$$ A=\begin{bmatrix}
1&5 \\
4&8 \\
6&2
\end{bmatrix} $$
1&5 \\
4&8 \\
6&2
\end{bmatrix} $$
is the 2 × 3 matrix A′:
$$ A^{'}=A^T=\begin{bmatrix}
1& 4 & 6\\
5 & 8 & 2 \end{bmatrix}$$
1& 4 & 6\\
5 & 8 & 2 \end{bmatrix}$$