rows
Number of rows in a reference.
Syntax
Section titled “Syntax”v = rows(arr)Description
Section titled “Description”Returns the number of rows in arr. Equivalent to size(arr, 1) in script mode.
Example
Section titled “Example”rows([1 2 3; 4 5 6]) % 2