6.45.18 Number of rows: rowdim rowDim nrows
The rowdim command finds the number of rows of a matrix.
rowDim and nrows are synonyms for rowdim.
-
rowdim takes one argument:
A, a matrix.
- rowdim(A) returns the number of rows of the matrix
A.
Example.
Input:
rowdim([[1,2,3],[3,4,5]])
Output: