isempty {matlab}R Documentation

MATLAB isempty function

Description

Determine if object is empty.

Usage

isempty(A)

Arguments

A

object to evaluate

Details

An empty object has at least one dimension of size zero.

Value

Returns TRUE if x is an empty object; otherwise, FALSE.

Author(s)

P. Roebuck proebuck1701@gmail.com

Examples

isempty(1:3)  # FALSE
isempty(array(NA, c(2, 0, 2)))	# TRUE

[Package matlab version 1.0.4 Index]