
Using the Action Menu
ufill
Function: Creates a matrix with a specific number of rows and columns, or replaces the elements of a matrix with a specific expression.
Syntax: fill (Exp, number of rows, number of columns [ ) ] fill (Exp, Mat [ ) ]
Example: To create a 2 ⋅ 3 matrix, all whose elements are 2
Menu Item:
Example: To replace all of the elements of the matrix [[1, 2] [3, 4]] with 3
Menu Item:
usubMat
Function: Extracts a specific section of a matrix into a new matrix.
Syntax: subMat (Mat [,start row] [,start column] [,end row] [,end column] [ ) ]
•“1” is the default when you omit “[, start row]” and “[, start column]”.
•The last row number is the default when you omit “[, end row]”.
•The last column number is the default when you omit “[, end column]”.
Example: To extract the section from row 2, column 2, to row 3, column 3 from the matrix [[1, 4, 7] [2, 5, 8] [3, 6, 9]]
Menu Item:
udiag
Function: Returns a
Syntax: diag (Mat[ ) ]
Example: To extract the diagonal elements of the matrix [[1, 2] [3, 4]]
Menu Item:
ulistToMat
•For information about listToMat, see page
20060301