Complete the following steps to create a matrix using data that you type or data from a text file.

- In Number of rows, enter the number that defines the width of the matrix.
- In Number of columns, enter the number that defines the length of the matrix.
- In Read into matrix, enter a number (for example,
`M1`) or a name for the matrix. If the name contains spaces, enclose the name in single quotation marks. - Specify how to enter the values for the matrix:
- Read from keyboard: Type the matrix values row-by-row.
- Read from file: import data from a .txt or .dat file.

- Click OK.
- If you specified Read from keyboard, type the values for the matrix, one row at a time, separating the values with commas or spaces. Press Enter after each row.
- If you specified Read from file, browse to and select the .txt or .dat file that contains the values for the matrix.

To view the matrix, choose .