Command
|
Operation
|
whos x
|
Display the data type of x .
|
xType = class(x);
|
Assign the data type of x to a variable.
|
isnumeric(x)
|
Determine if x is a numeric type.
|
isa(x, 'integer') isa(x, 'uint64') isa(x, 'float') isa(x, 'double') isa(x, 'single')
|
Determine if x is the specified numeric type. (Examples for any integer, unsigned 64-bit integer, any floating point, double precision, and single precision are shown here).
|
isreal(x)
|
Determine if x is real or complex.
|
isnan(x)
|
Determine if x is Not a Number (NaN ).
|
isinf(x)
|
Determine if x is infinite.
|
isfinite(x)
|
Determine if x is finite.
|
© 1994-2005 The MathWorks, Inc.