size: Function written to match MATLAB's size function

View source: R/size.R

sizeR 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))


andrewhooker/PopED documentation built on Nov. 23, 2023, 1:37 a.m.