Convert fi
object to signed 8-bit integer
c = int8(a)
c = int8(a)
returns the built-in int8
value
of fi
object a
, based on its
real world value. If necessary, the data is rounded-to-nearest and
saturated to fit into an int8
.
This example shows the int8
values of a fi
object.
a = fi([-pi 0.1 pi],1,8); c = int8(a) c = -3 0 3