Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Point Toolbox   

fractionlength - Fraction length of quantizer object

Syntax

fractionlength(q)

Description

fractionlength(q) returns the fraction length of quantizer object q.

Algorithm

For floating-point quantizer objects, f = w - e - 1, where w is the word length and e is the exponent length.

For fixed-point quantizer objects, f is part of the format [w f].

See Also

fi, numerictype, quantizer, wordlength

  


Free Early Verification Kit

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