isscaledtype

Determine whether input is fixed-point or scaled double data type

Syntax

y = isscaledtype(a)
y = isscaledtype(T)

Description

y = isscaledtype(a) returns 1 when the DataType property of fi object a is Fixed or ScaledDouble, and 0 otherwise.

y = isscaledtype(T) returns 1 when the DataType property of numerictype object T is Fixed or ScaledDouble, and 0 otherwise.

See Also

isboolean, isdouble, isfixed, isfloat, numerictype, isscaleddouble, issingle

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS