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.

Was this topic helpful?