| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Fixed-Point Toolbox |
| Contents | Index |
| Learn more about Fixed-Point Toolbox |
This section describes the properties associated with numerictype objects.
The bias is part of the numerical representation used to interpret a fixed-point number. Along with the slope, the bias forms the scaling of the number. Fixed-point numbers can be represented as
![]()
where the slope can be expressed as
![]()
The possible value of the DataType property are:
boolean — Built-in MATLAB boolean data type
double — Built-in MATLAB double data type
Fixed — Fixed-point or integer data type
ScaledDouble — Scaled double data type
single — Built-in MATLAB single data type
The default value of this property is Fixed.
Data type and scaling associated with the object. The possible values of this property are:
boolean — Built-in boolean
double — Built-in double
Fixed-point: binary point scaling — Fixed-point data type and scaling defined by the word length and fraction length
Fixed-point: slope and bias scaling — Fixed-point data type and scaling defined by the slope and bias
Fixed-point: unspecified scaling — Fixed-point data type with unspecified scaling
Scaled double: binary point scaling — Double data type with fixed-point word length and fraction length information retained
Scaled double: slope and bias scaling — Double data type with fixed-point slope and bias information retained
Scaled double: unspecified scaling — Double data type with unspecified fixed-point scaling
single — Built-in single
The default value of this property is Fixed-point: binary point scaling.
Fixed-point exponent associated with the object. The exponent is part of the numerical representation used to express a fixed-point number. Fixed-point numbers can be represented as
![]()
where the slope can be expressed as
![]()
The exponent of a fixed-point number is equal to the negative of the fraction length:
![]()
Fraction length of the stored integer value of the object, in bits. The fraction length can be any integer value.
This property automatically defaults to the best precision possible based on the value of the word length and the real-world value of the fi object.
Scaling mode of the object. The possible values of this property are:
BinaryPoint — Scaling for the fi object is defined by the fraction length.
SlopeBias — Scaling for the fi object is defined by the slope and bias.
Unspecified — A temporary setting that is only allowed at fi object creation, to allow for the automatic assignment of a binary point best-precision scaling.
The default value of this property is BinaryPoint.
Whether the object is signed. The possible values of this property are:
1 — signed
0 — unsigned
true — signed
false — unsigned
The default value of this property is true.
Note Although the Signed property is still supported, the Signedness property always appears in the numerictype object display. If you choose to change or set the signedness of your numerictype objects using the Signed property, MATLAB updates the corresponding value of the Signedness property. |
Whether the object is signed, unsigned, or has an unspecified sign. The possible values of this property are:
Signed — signed
Unsigned — unsigned
Auto — unspecified sign
The default value of this property is Signed.
All numerictype object properties of a fi object must be specified at the time of fi object creation. If this property is set to Auto at the time of fi object creation, the property automatically defaults to Signed.
Slope associated with the object. The slope is part of the numerical representation used to express a fixed-point number. Along with the bias, the slope forms the scaling of a fixed-point number. Fixed-point numbers can be represented as
![]()
where the slope can be expressed as
![]()
Slope adjustment associated with the object. The slope adjustment is equivalent to the fractional slope of a fixed-point number. The fractional slope is part of the numerical representation used to express a fixed-point number. Fixed-point numbers can be represented as
![]()
where the slope can be expressed as
![]()
Word length of the stored integer value of the object, in bits. The word length can be any positive integer value.
The default value of this property is 16.
![]() | fipref Object Properties | quantizer Object Properties | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |