How to | Input a Matrix
The Wolfram Language supports operations on matrices of any size and has a range of input methods appropriate for different needs, from small, formatted matrices via keyboard or palettes to text-based entry or automatic import.
Use MatrixForm to display m as a matrix:
Open the palette from the Palettes menu:
To create a new row, use . The new row will be inserted immediately below the position of your cursor. Pressing with the cursor positioned after any entry in the last row creates a new row at the bottom of the matrix:
You can import a matrix from a file. In this example, data is imported from a file and displayed in MatrixForm: