Matrices are entered by enclosing the values in [ ]. Each item in a row is
separated by a , and each row is separated by a
;.
The identity matrix can be entered using the function eye
with the size of the matrix as the parameter.
A zero filled matrix can be entered using the zeros
function. This accepts either one parameter to produce a square matrix or two to produce a rectangular matrix.
A one filled matrix can be entered using the ONES function. This accepts either one parameter to produce a square matrix or two to produce a rectangular matrix.
A one dimensional matrix containing a series of numbers can be created using the colon operator either with the form