isfi

Determine whether variable is fi object

Description

example

tf = isfi(a) returns 1 (true) if a is a fi object. Otherwise, it returns 0 (false).

Examples

collapse all

Create a variable and determine whether it is a fi object.

a = fi(pi)
a = 
    3.1416

          DataTypeMode: Fixed-point: binary point scaling
            Signedness: Signed
            WordLength: 16
        FractionLength: 13
tf = isfi(a)
tf = logical
   1

b = single([1 2 3 4])
b = 1x4 single row vector

     1     2     3     4

tf = isfi(b)
tf = logical
   0

Input Arguments

collapse all

Input array.

Extended Capabilities

Introduced before R2006a