Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - Русский - 日本語
Aide de Scilab >> Fonctions Elémentaires > isempty

isempty

check if a variable is an empty matrix or an empty list

Syntax

t=isempty(x)

Arguments

x

vector, matrix or list

t

a boolean

Description

isempty(x) returns true if x is an empty matrix or an empty list.

Examples

a=1
isempty(a(2:$))
isempty(find(rand(1:10)==5))
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:31:01 CEST 2016