isfloat
Determine whether input is floating-point data type
Syntax
y = isfloat(a)
y = isfloat(T)
y = isfloat(q)
Description
y = isfloat(a)
returns 1
when the
DataType
property of
fi
object a
is single
, or
double
, and
0
otherwise.
y = isfloat(T)
returns 1
when the
DataType
property of
numerictype
object
T
is single
,
or double
, and
0
otherwise.
y = isfloat(q)
returns 1
when q
is
a floating-point quantizer
, and 0
otherwise.
Version History
Introduced in R2008a
See Also
isboolean
| isdouble
| isfixed
| isscaleddouble
| isscaledtype
| isscalingbinarypoint
| isscalingslopebias
| isscalingunspecified
| issingle