Reshaping Lists and Matrices

A list of expressions entered in mathematics and separated by commas can be turned into a matrix where the entries of the matrix, reading left to right and top to bottom, are the entries of the list in the given order.

$\blacktriangleright$ To make a matrix from a list

1.
Place the insertion point within the list.

2.
From the Matrices submenu, choose Reshape.

3.
Specify the number of columns.

The number of rows depends on the length of the list. Extra input boxes at the end are left blank.

$\blacktriangleright$ Reshape

45, 21, 8, 19, 0, 5, 15, 6 to 3 columns: $\left[\vphantom{
\begin{array}{ccc}
45 & 21 & 8 \\
19 & 0 & 5 \\
15 & 6 & \Box
\end{array}
}\right.$$\begin{array}{ccc}
45 & 21 & 8 \\
19 & 0 & 5 \\
15 & 6 & \Box
\end{array}$$\left.\vphantom{
\begin{array}{ccc}
45 & 21 & 8 \\
19 & 0 & 5 \\
15 & 6 & \Box
\end{array}
}\right]$

A matrix filled with data can be reshaped, with the new matrix corresponding to the same list as the original data.

$\blacktriangleright$ To reshape a matrix

1.
Place the insertion point in the matrix.

2.
From the Matrices submenu, choose Reshape.

3.
Specify the new number of columns.

$\blacktriangleright$ Reshape

$\left[\vphantom{
\begin{array}{rrrr}
-85 & -55 & -37 & -35 \\
97 & 50 & 79 & 56
\end{array}
}\right.$$\begin{array}{rrrr}
-85 & -55 & -37 & -35 \\
97 & 50 & 79 & 56
\end{array}$$\left.\vphantom{
\begin{array}{rrrr}
-85 & -55 & -37 & -35 \\
97 & 50 & 79 & 56
\end{array}
}\right]$ to 3 columns: $\left[\vphantom{
\begin{array}{rrr}
-85 & -55 & -37 \\
-35 & 97 & 50 \\
79 & 56 & \Box
\end{array}
}\right.$$\begin{array}{rrr}
-85 & -55 & -37 \\
-35 & 97 & 50 \\
79 & 56 & \Box
\end{array}$$\left.\vphantom{
\begin{array}{rrr}
-85 & -55 & -37 \\
-35 & 97 & 50 \\
79 & 56 & \Box
\end{array}
}\right]$