isfloat
Determine whether input is floating-point data type
Syntax
y = isfloat(a)
y = isfloat(T)
y = isfloat(q)
Description
y = isfloat(a)
returns1
when theDataType
property offi
objecta
issingle
, ordouble
, and0
otherwise.
y = isfloat(T)
returns1
when theDataType
property ofnumerictype
objectT
issingle
, ordouble
, and0
otherwise.
y = isfloat(q)
returns1
whenq
is a floating-pointquantizer
, and0
otherwise.
See Also
isboolean
|isdouble
|isfixed
|isscaleddouble
|isscaledtype
|isscalingbinarypoint
|isscalingslopebias
|isscalingunspecified
|issingle
Introduced in R2008a