tf = isfloat(A) returns
true if A is a floating-point array and
false otherwise. Floating-point types in MATLAB® include single and double (and subclasses of single and
double).
Input array, specified as a scalar, vector, matrix, or multidimensional array.
Floating-point types in MATLAB include single and double (and
subclasses of single and double).
The
isfloat function fully supports GPU arrays.
To run the function on a GPU, specify the input data as a gpuArray (Parallel Computing Toolbox). For more
information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.