Previous Up Next

5.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.

Example

Input:

rowdim([[1,2,3],[3,4,5]])

Output:

2

Previous Up Next