sizeΒΆ

size returns the size of its argument.

rvSize = size(m)
<rows, cols> = size(m)

Return Value

rvSize is a vector with two elements. rvSize[1] is the number of rows of m and rvSize[2] is the number of columns. rows is the number of rows of m and cols is the number of columns of m.

Parameters

m

m is a real, complex or string matrix.

See also

nr, nc, len

id-1434288