Main Content

fractionlength

Fraction length of quantizer object

Syntax

fractionlength(q)

Description

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

Algorithms

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].

Version History

Introduced before R2006a