The numerictype
object contains all the data
type and scaling attributes of a fixedpoint object. The numerictype
object
behaves like any MATLAB^{®} object, except that it only lets you
set valid values for defined fields. The following table shows the
possible settings of each field of the object.
Note
When you create a 
DataTypeMode  DataType  Scaling  Signedness  Word Length  Fraction Length  Slope  Bias 

Fixedpoint data types  



 Positive integer from 1 to 65,536  Positive or negative integer  2^(fraction length) 




 Positive integer from 1 to 65,536 
 Any floating point number  Any floating point number 



 Positive integer from 1 to 65,536 



Scaled double data types  



 Positive integer from 1 to 65,536  Positive or negative integer  2^(fraction length) 




 Positive integer from 1 to 65,536 
 Any floating point number  Any floating point number 



 Positive integer from 1 to 65,536 



Builtin data types  
























You cannot change the numerictype
properties
of a fi
object after fi
object
creation.
The Slope field of the numerictype
object
is related to the SlopeAdjustmentFactor
and FixedExponent
properties
by
$$slope=slopeadjustmentfactor\times {2}^{fixedexponent}$$
The FixedExponent
and FractionLength
properties
are related by
$$fixedexponent=fractionlength$$
If you set the SlopeAdjustmentFactor
, FixedExponent
,
or FractionLength
property, the Slope field
is modified.
In binary point scaling the numerictype
StoredIntegerValue
and RealWorldValue
properties
are related according to
$$real\text{}worldvalue=storedintegervalue\times {2}^{fractionlength}$$
In [Slope Bias] scaling the RealWorldValue
can
be represented by
$$\begin{array}{l}real\text{}worldvalue=\\ \text{}storedintegervalue\times (slopeadjustmentfactor\times {2}^{fixedexponent})+bias\end{array}$$
which is equivalent to
If any of these properties are updated, the others are modified accordingly.
For more detail on these properties see numerictype Object Properties.
For more information on scaling see Data Types and Scaling