isempty: Function written to match MATLAB's isempty function

Description Usage Arguments Value See Also Examples

View source: R/isempty.R

Description

Function written to match MATLAB's isempty function

Usage

1

Arguments

...

arguments to pass to the function. Typically a matrix.

Value

Logical. True if the passed object has any dimension that is zero.

See Also

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

Examples

1
2
3
4
5
isempty(zeros(2,3))

isempty(zeros(2,0))

isempty(c(1,2,3))

PopED documentation built on May 21, 2021, 5:08 p.m.