rows

Navigation:  Language Reference > Functions > Matrix >

rows

Previous pageReturn to chapter overviewNext page

Syntax

y = rows(A);

Description

Returns the number of rows of A.

Examples

A = [1,2;3,4;5,6];

y = rows(A);

Limitations

y must be a scalar.