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

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS