Main Content

exponentmax

Maximum exponent for quantizer object

Syntax

exponentmax(q)

Description

exponentmax(q) returns the maximum exponent for quantizer object q. When q is a fixed-point quantizer object, it returns 0.

Examples

q = quantizer('double');
exponentmax(q)
ans =

        1023

Algorithms

For floating-point quantizer objects,

Emax=2e11

For fixed-point quantizer objects, Emax=0 by definition.

Version History

Introduced before R2006a