← Back

Transpose a Matrix

Enter the size and elements of your matrix to find its transpose.

Example Input

[
    [1, 2, 3],
    [4, 5, 6], 
    [7, 8, 9]
]

Example Output

[
    [1, 4, 7],
    [2, 5, 8],
    [3, 6, 9]
]
Fill the elements for each cell