1. Transpose a rectangular 2×3 matrix
Problem
The matrix has 2 rows and 3 columns.
Identify the three columns of : [1, 4], [2, 5], and [3, 6].
In the transpose, each column of becomes a row of .
Assemble the columns-as-rows into the final transposed matrix with 3 rows and 2 columns.
Answer:
Transpose swaps rows and columns: each row becomes a column, and each column becomes a row. The dimensions also flip from to .