MATLAB Function Reference | Go to function: | Search Help Desk

size | See Also

get the size of the data set

Syntax

    out=size(d)

    out=size(d,n)

Description

`out=size(d)` returns the dimensions (number of examples, number of variables) of the database `d`.

`out=size(d,n)` returns either the number of examples(`n` = 1) or the number of variables(`n` = 2) of the database `d`.

See Also

also get

[ Help Desk ]