Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

isempty

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)

Examples

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

matlab

MATLAB emulation package

v1.0.2
Artistic-2.0
Authors
P. Roebuck
Initial release
2014-06-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.