Transpose a 2x3 matrix by placing each entry A[i,j] at position
A^T[j,i] in the result. Each entry is relocated in one step; the
state panel accumulates the transposed matrix one cell at a time.
The result is a 3x2 matrix.
Example
Move each matrix entry into its transposed position one entry at a time.
highlighted = computed this step
Step 1 — Set up
Start with the matrix and an empty transpose.
A=[142536],AT=□□□□□□
Step 2 — Top-Left entry
Move the top-left entry to the top-left slot: 1.
1→1,AT=1□□□□□
Step 3 — Top-Middle entry
Move the top-middle entry to the middle-left slot: 2.
2→2,AT=12□□□□
Step 4 — Top-Right entry
Move the top-right entry to the bottom-left slot: 3.
3→3,AT=123□□□
Step 5 — Bottom-Left entry
Move the bottom-left entry to the top-right slot: 4.
4→4,AT=1234□□
Step 6 — Bottom-Middle entry
Move the bottom-middle entry to the middle-right slot: 5.
5→5,AT=12345□
Step 7 — Bottom-Right entry
Move the bottom-right entry to the bottom-right slot: 6.
6→6,AT=123456
Step 8 — Result
Read the completed transpose.
AT=123456
transposeThe transpose A^T of an m x n matrix A is an n x m matrix defined by A^T[j,i] = A[i,j]. Rows of A become columns of A^T.