<< isempty Types module ishandle >>

isfloat


Return true if variable var is a single or double matrix.


Syntax


res = isfloat(var)

Input argument


var

a variable

Output argument


res

a logical: true or false

Description


isfloat returns a logical 1 if the argument is a single or double matrix and a logical 0 otherwise.

Examples


A = 3;
res = isfloat(A)

A = single(3);
res = isfloat(A)

See also


isa, single, isdouble.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< isempty Types module ishandle >>