comparison testing/utp_1.1/utp_fcns/isEmptyDouble.m @ 45:a59cdb8aaf31 database-connection-manager

Merge
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 19:07:22 +0100
parents 409a22968d5e
children
comparison
equal deleted inserted replaced
42:f90d4f666cc7 45:a59cdb8aaf31
1 % ISEMPTYDOUBLE returns true if the input is an empty double [].
2 %
3 % CALL: res = isEmptyDouble(val)
4 %
5 % OUTPUTS: true, flase
6 %
7 % VERSION: $Id: isEmptyDouble.m,v 1.1 2009/07/20 15:13:38 ingo Exp $
8 %
9 function res = isEmptyDouble(val)
10
11 res = isnumeric(val) && isempty(val);
12
13 end