diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testing/utp_1.1/utp_fcns/isEmptyDouble.m	Tue Dec 06 19:07:22 2011 +0100
@@ -0,0 +1,13 @@
+% ISEMPTYDOUBLE returns true if the input is an empty double [].
+%
+% CALL:    res = isEmptyDouble(val)
+%
+% OUTPUTS: true, flase
+%
+% VERSION: $Id: isEmptyDouble.m,v 1.1 2009/07/20 15:13:38 ingo Exp $
+%
+function res = isEmptyDouble(val)
+  
+  res = isnumeric(val) && isempty(val);
+  
+end
\ No newline at end of file