![]() |
VOOZH | about |
Transpose of a matrix is a matrix that is obtained by swapping the rows and columns of the given matrix or vice versa, i.e., for the given matrix the elements in rows are interchanged with the elements in columns. For any given matrix A its transpose is denoted as At, or AT.
Note: The transpose of an m × n matrix will result in an n × m matrix.
Square matrices are matrices that have an equal number of rows and columns. For any square matrix An×n, its transpose has the same order i.e., the transpose of A, At has order n × n. The rows and columns are interchanged in the transpose of a square matrix.
Transpose of the matrix: 1 4 7 2 5 8 3 6 9
The transpose of a rectangular matrix is formed by turning its rows into columns (and columns into rows).
If the original matrix is of size m × n, its transpose will be of size n × m. In other words, the element at position [i][j] moves to [j][i] in the transposed matrix.
Transpose of the matrix: 1 4 2 5 3 6