size {PopED}R Documentation

Function written to match MATLAB's size function

Description

Function written to match MATLAB's size function

Usage

size(obj, dimension.index = NULL)

Arguments

obj

An object you want to know the various dimensions of. Typically a matrix.

dimension.index

Which dimension you are interested in.

Value

The dimensions of the object or specific dimension you are interested in.

See Also

Other MATLAB: cell(), diag_matlab(), feval(), fileparts(), isempty(), ones(), randn(), rand(), tic(), toc(), zeros()

Examples


size(c(2,3,4,5,6))

size(10)

size(zeros(4,7))


[Package PopED version 0.6.0 Index]