Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

exponentbias

Exponent bias for quantizer object

Syntax

b = exponentbias(q)

Description

b = exponentbias(q) returns the exponent bias of the quantizer object q. For fixed-point quantizer objects, exponentbias(q) returns 0.

Examples

q = quantizer('double');
b = exponentbias(q)

b =

        1023

Algorithms

For floating-point quantizer objects,

b=2e11

where e = eps(q), and exponentbias is the same as the exponent maximum.

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

Introduced before R2006a

Was this topic helpful?