Mercurial > hg > octave-lyh
view scripts/general/rows.m @ 70:a5e8b7c9a3ad
[project @ 1993-08-30 14:32:55 by jwe]
author | jwe |
---|---|
date | Mon, 30 Aug 1993 14:32:55 +0000 |
parents | b4df021f796c |
children | 16a24e76d6e0 |
line wrap: on
line source
function nr = rows (x) # usage: rows (x) # # Return the the number of rows in x. # # See also: size, columns, length, is_scalar, is_vector, is_matrix if (nargin != 1) error ("usage: rows (x)"); endif [nr, nc] = size (x); endfunction