Group: | Matrix Manipulation |
Topic: | Sorting and Counting |
See also: | cols dim |
Function: | rows | |
Description: | rows returns the number of rows in an array. |
Usage: | z = rows (x) | |
Input: | ||
x | d1 x d2 x ... x dn array | |
Output: | ||
z | scalar with the number d1 |
rows(matrix(10, 2))
Contents of rows [1,] 10