| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| R2010b Documentation → Fixed-Point Toolbox |
| Contents | Index |
| Learn more about Fixed-Point Toolbox |
You can use quantizer objects to quantize data sets. You can create quantizer objects in Fixed-Point Toolbox software in one of two ways:
You can use the quantizer constructor function to create a new object.
You can use the quantizer constructor function to copy a quantizer object.
To create a quantizer object with default properties, type
q = quantizer
q =
DataMode = fixed
RoundMode = floor
OverflowMode = saturate
Format = [16 15]
To copy a quantizer object, simply use assignment as in the following example:
q = quantizer;
r = q;
isequal(q,r)
ans =
1A listing of all the properties of the quantizer object q you just created is displayed along with the associated property values. All property values are set to defaults when you construct a quantizer object this way. See quantizer Object Properties for more details.
![]() | Working with quantizer Objects | 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-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |