gusucode.com > datatypes 工具箱matlab源码程序 > datatypes/isfloat.m
%ISFLOAT True for floating point arrays, both single and double. % ISFLOAT(A) returns true if A is a floating point array and false otherwise. % % Single and double are the only floating point data types in MATLAB. % % Example: % isfloat(single(pi)) % returns true since single is floating point data type while % isfloat(int8(3)) % returns false since int8 is not a floating point data type. % % See also ISA, DOUBLE, SINGLE, ISNUMERIC, ISINTEGER. % Copyright 1984-2005 The MathWorks, Inc. % Built-in function.