CASTI-89 TITANIUM · CALC89
randMat(
Returns a matrix of the given size filled with random integers.
Syntax
randMat(numRows, numColumns)
- Group
- Matrix
- Arguments
- Takes the number of rows and the number of columns.
- Availability
- Included
- Menu path
- MATH ▸ Matrix ▸ CAS ▸ randMat(
Example
| Input | Result |
|---|---|
| dim(randMat(2,3)) | {2,3} |
Typing dim(randMat(2,3)) on the home screen and pressing ENTER returns {2,3}.
Keystrokes on the TI-89 Titanium
2NDMATH4▶×3▼×20ENTER
The same key sequence inserts randMat( in Calc89, and the AI tutor shows it step by step on the on-screen keypad.
Related commands
- ref(Returns the row echelon form of a matrix, the result of forward Gaussian elimination.
- rowAdd(Adds one row of a matrix to another row and returns the new matrix.
- rowDim(Returns the number of rows of a matrix.
- rowNorm(Returns the row norm of a matrix, the largest sum of the absolute values of the entries in any row.
- rowSwap(Swaps two rows of a matrix and returns the new matrix.
- rref(Returns the reduced row echelon form of a matrix.
- simult(Solves a system of linear equations given as a coefficient matrix and a column of constants, and returns the solution as a column vector.
- subMat(Returns the part of a matrix between a start row and column and an end row and column.